score:3

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

http://msdn.microsoft.com/en-us/library/bb882671.aspx

  • 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

score:1

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

More Query from same tag