Click or drag to resize
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.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public virtual void WriteXml(
	XmlWriter writer,
	XmlFormatAspect aspects,
	Dictionary<Guid, IEntityCore> processedObjectIDs
)

Parameters

writer
Type: System.XmlXmlWriter
The writer.
aspects
Type: SD.LLBLGen.Pro.ORMSupportClassesXmlFormatAspect
The aspects.
processedObjectIDs
Type: System.Collections.GenericDictionaryGuid, IEntityCore
The objectIDs of entities already serialized.

Implements

IAuditorWriteXml(XmlWriter, XmlFormatAspect, DictionaryGuid, IEntityCore)
Remarks
Adapter specific.
See Also