|AuditorBaseWriteXml Method |
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.
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 184.108.40.206 (5.3.0)
public virtual void WriteXml(
Dictionary<Guid, IEntityCore> processedObjectIDs
Public Overridable Sub WriteXml (
writer As XmlWriter,
aspects As XmlFormatAspect,
processedObjectIDs As Dictionary(Of Guid, IEntityCore)
- Type: System.XmlXmlWriter
- Type: SD.LLBLGen.Pro.ORMSupportClassesXmlFormatAspect
- Type: System.Collections.GenericDictionaryGuid, IEntityCore
The objectIDs of entities already serialized.
ImplementsIAuditorWriteXml(XmlWriter, XmlFormatAspect, DictionaryGuid, IEntityCore)