Click or drag to resize
IEntity2.WriteXml Method (XmlWriter, XmlFormatAspect, String, Dictionary<Guid, IEntityCore>)
Converts this entity to XML

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
void WriteXml(
	XmlWriter writer,
	XmlFormatAspect aspects,
	string rootNodeName,
	Dictionary<Guid, IEntityCore> processedObjectIDs
)

Parameters

writer
Type: System.Xml.XmlWriter
The writer to write the output to.
aspects
Type: SD.LLBLGen.Pro.ORMSupportClasses.XmlFormatAspect
The aspect flags to control the format of the XML produced
rootNodeName
Type: System.String
name of root element to use when building a complete XML representation of this entity.
processedObjectIDs
Type: System.Collections.Generic.Dictionary<Guid, IEntityCore>
The objectIDs of entities already serialized.
Remarks
Used for serializing embedded entity data in for example auditors.
See Also