Is there any event like OnValidate
in LINQ where I can add my business validation rules so that they are ALWAYS called whenever I use Add()
or Update()
?
If not: What do you suggest to do? I could add a partial class and wrap the Add/Update methods with own ones but then one could still use the original ones ignoring any business validation rules.
Thanks in advance and keep up the excellent work with subsonic!