LINQ to SQL does not update when data has changed in database
- by aximili
I have this problem where after a field (say Field3 in table MyTable) is updated on the database, MyTable.Field3 (in C#) is still returning the old value.
I suspect there is some caching...?
How do I force it to:
Read the value from the database?
OR
Update the value in the MyTable class?
Or is there anything I miss?
Thank you in advance.