I was hoping someone could point me in the right direction. I'm normally used to working with DataAdapters and Datasets. Normally to implement business rules we would make heavy use of of the DataAdapter.RowUpdated event (for logging, notification etc...). What we really need is to be able to hook into events prior to and immediately after Save() events. Ideally we would want to do this in a fairly generic fashion.
I noticed that after the Save() the state of the Entity gets changed, is there any way I can key into this change (is there an event I don't know about) without modifying the templates? Also, is there an easy way to get at old values of an entity. I was thinking of hooking into the PropertyChanged event and writing my own state tracking in the EntityBase, but I want to be sure there's not already something already there...
Has anyone encountered these issues and if so, what solutions worked?
Thanks in Advance,
Tyler