KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a LinqToSql object in memory, whose field values on the database are expected to change during the lifetime of the object. So periodically I need to check if everything is still in sync. I was expecting to be able to do this like so: myDataContext.Refresh(RefreshMode.KeepCurrentValues, myObj); but unfortunately this seems to have no effect; the values on myObj remain the same even when the DB values have changed. MSDN documentation on this method is pretty scant. Can anyone tell me what I am missing here?
Tags (comma-separated)
Save Edits
Cancel