开发者

Does saveChanges method of ObjectContext is wrapped in transaction?

Does anybody know if the saveChanges method sends the SQL script that is wrapped into tran开发者_C百科saction?

thanks in advance.


Yes it will send the SQL to the database. But you need to commit the changes for them to be saved, otherwise they will be lost when the transaction timesout.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜