Geeks With Blogs
Dan Bedassa February 2009 Entries
LINQ to SQL cache issue
Have you ever encountered that LINQ to SQL is not giving you latest data you just updated on a specific row? Well apparently, LINQ to SQL is caching your objects on the first call and on subsequent requests for the same row, it gives you the object in the cache – even if you have made updates to that row after your first request. It could be really annoying to see your updates right there in the database but LINQ is giving you your old data. Your solution is to disable object tracking (caching for ......

Posted On Thursday, February 12, 2009 9:04 AM

Copyright © DanBedassa | Powered by: