This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I am very interested in LightSpeed, I need to replace an internal custom ORM, and this product has almost all current features. My only problem is in relation to the audit log, I must store (in xml) all changes made in the system. There is some method in which can intercept events: Insert/Update/Delete? (I need this informations in Events) Insert: UserName, DateTime, Table, ID Update: UserName, DateTime, Table, Field, OldValue, NewValue (Only Changed values) Delete: UserName, DateTime, Table, AllFields I using google translator... Thank you! |
|
|
Have a look at http://www.mindscapehq.com/documentation/lightspeed/Implementing-Storage-Policies-with-LightSpeed/Change-Tracking for details about the Change Tracking in LightSpeed. This is intended to assist with building custom auditing into a system with LightSpeed. You can get a list of changes by using the ChangeTracker.Changes property and then build your XML accordingly. You can override the OnSaving method if you want to trigger this when SaveChanges is called.
|
|