开发者

Gridview with linq and transactions

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜