I am looking at this tutorial yet it uses the entity framework.
so I am wondering can I do the same thing with linq to sql and if so how? They seem to use this OnChaning thing but I don’t know if linq to sql has it.
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.
The extensibility methods for the Changed/Changing events on each property are generated by the Linq to SQL designer. You just need to have a partial class implementation of the entity that implements the extensibilty methods.