In SUBSONIC Using VERSION 2.2 to Create a separate DAL project (DLL)
I need to perform an action After a specific object class has done it's UPDATE or INSERT and the changes have been committed.
Right now I have partial class which is overriding the AFTERCOMMIT and calling my custom action in there
BUT I do not see a way of finding out if the previous action was an INSERT or an UPDATE
I see that there are deprecated events like PostUpdate (I do not see a PostInsert) [Obsolete("Deprecated: Use AfterCommit() instead.")] protected virtual void PostUpdate(); [Obsolete("Deprecated: Use BeforeInsert() and/or BeforeUpdate() instead.")] protected virtual void PreUpdate();
Anybody has figured this out - is this just a limitation of this product