is it posible to implement a gridview with linq 2 SQL entities that allow commit all the updated rows together after a button click or maybe a way to rollback the changes if the user clicks a cancel button?
thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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
IEditableObjectinterface.