submitchanges
LINQ to SQL - retrieve object, modify, SubmitChanges() creates new objects
I\'ve been battling this for a while. I\'m trying to implement a many to one association. I have a bunch of rows in a table, called readings. These accumulate over time, and every now and then I want[详细]
2022-12-11 14:45 分类:问答LINQ to SQL: Read entity while calling "SubmitChanges" causes DuplicateKeyException
I\'m experiencing a strange behavior that I really don\'t know how to work around it.I\'m trying to read an entity just after it has been inserted (right after the ExecuteDynamicInsert) and when the p[详细]
2022-12-09 09:47 分类:问答What is the best practice for committing changes using a LINQ2SQL datacontext in a Silverlight application using RIA?
I\'ve got a Silverlight app using RIA services and LINQ2SQL and have objects in my Silverlight app. I query all the re开发者_如何学运维cords in a table (via a LINQ query, using a datacontext) in the[详细]
2022-12-08 22:44 分类:问答