I want to implement this partial method in my Linq table class.
partial void OnValidate(System.Data.Linq.ChangeAction action);
My hope is that is it called right before an insert. Can anyone tell me when the OnValidate method is called?
Update 1
I understand that I can check the enum to see what action causes it to fire. But WHEN does it get called? I need to know if it gets called each time someone submits changes or what?