views:

80

answers:

0

I have a method that inserts a record into SQL Server using Linq to SQL and a stored proc. However if we refresh the page (it automatically runs a Get method), the updated data doesn't get returned from the Linq query (not a stored proc).

I'm guessing if I use a stored proc for the Get, this will solve the issue as it seems the context is out of date, but I'd like to understand this a little better.

Can anyone help?