开发者

Gridview with linq and transactions

开发者 https://www.devze.com 2023-01-03 15:41 出处:网络
is it posible to implement a gridview with linq 2 SQL entities that allow commit all the updated rows 开发者_C百科together after a button click or maybe a way to rollback the changes if the user click

is it posible to implement a gridview with linq 2 SQL entities that allow commit all the updated rows 开发者_C百科together after a button click or maybe a way to rollback the changes if the user clicks a cancel button?

thanks!


If you're looking for in-memory transactionality (meaning that you could roll back the changes without doing a retrieval), then no, this isn't possible using LINQ 2 SQL entities, as they don't implement the IEditableObject interface.

0

精彩评论

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