开发者

How will Linq DataContext.SubmitChanges() work internally?

开发者 https://www.devze.com 2023-03-17 19:18 出处:网络
How will the DataContext remember changes internally. What happens if I call SubmitChanges() more than once. If there was an excepti开发者_StackOverflow中文版on while calling SubmitChanges(), is there

How will the DataContext remember changes internally. What happens if I call SubmitChanges() more than once. If there was an excepti开发者_StackOverflow中文版on while calling SubmitChanges(), is there a way to clear all the changes from the DataContext.


If you Use TransactionScope you can do this using transactions

0

精彩评论

暂无评论...
验证码 换一张
取 消