Accepted answer
  • if you provide this method, you must perform the update in the method.

  • if you implement the insert, update and delete methods in your partial class, the linq to sql runtime will call them instead of its own default methods when submitchanges is called.

try mitabla.onvalidate


if you want to implement this method but not do the update yourself you make the method call executedynamicupdate(item);

likewise executedynamicdelete and executedynamicinsert for deletemytable and insertmytable respectively.

Related Query