阅读背景:

LINQ to SQL - 跟踪新/脏对象

来源:互联网 

Is there a way to determine if a LINQ object has not yet been inserted in the database (new) or has been changed since the last update (dirty)? I plan on binding my UI to LINQ objects (using WPF) and need it to behave differently depending whether or not the object is already in the database.Is there a way to determine if a LINQ object ha




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: