Click or drag to resize
IAuditorWriteXml 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)
void WriteXml(
	XmlWriter writer,
	XmlFormatAspect aspects,
	Dictionary<Guid, IEntityCore> processedObjectIDs


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