Thetype exposes the following members.
Gets if the auditor object has data which should be Xml serialized. If this property returns false, no serialization (and thus no deserialization) will take place of the data to XML.
Audits the successful delete of an entity from the database
Audits the successful dereference of related entity from the entity passed in.
Audits the successful direct delete of entities in the database
Audits the succesful direct update of entities in the database.
Audits when an entity field's value is succesfully obtained from the passed in entity
Audits when an entity field is set succesfully to a new value.
Audits the successful insert of a new entity into the database.
Audits the successful load of an entity from the database
Audits the successful reference of related entity from the entity passed in.
Audits the successful update of an existing entity in the database
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Gets the audit entities to save. Audit entities contain the audit information stored inside this auditor.
Gets the EntityType value as integer for the entity type passed in
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Reads the auditor data XML.
Reads the auditor data XML.
Method which returns true if this auditor expects to have audit entities to persist and therefore needs a transaction. This method is called in the situation when there's no transaction going on though one should be started right before the single-statement action in the case if the auditor has entities to save afterwards. It's recommended to return true if the auditor might have audit entities to persist after an entity save/delete/direct update/direct delete of entities. Default: true
Returns a string that represents the current object.(Inherited from Object.)
The transaction with which the audit entities requested from GetAuditEntitiesToSave were saved. Use this method to clear any audit data in this auditor as all audit information is persisted successfully.
Method to serialze audit data to XML. Use the aspects passed in to determine various aspects of the XML format. If the audit data consists of entity instances, be sure to pass the passed in processedObjectIDs object to the WriteXml routine of IEntity2, so use the overload of IEntity2.WriteXml() which accepts a reader and the processedObjectIDs. Though it's recommended not to serialize entity objects in audit data, keep audit data as clean as possible from entity references. The start element 'Auditor' has already been written, the end element /Auditor will be written for you after this routine.