Click or drag to resize
EntityBase2Entity2Xml Method
Produces the actual XML for this entity, recursively. Because it recurses through referenced entities, it keeps track of which objects are processed so cyclic references are not resulting in cyclic recursion and thus a crash.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: (5.3.0)
protected override void Entity2Xml(
	string rootNodeName,
	XmlWriter writer,
	Dictionary<Guid, IEntityCore> processedObjectIDs,
	XmlFormatAspect aspects,
	bool isRootElement,
	bool emitEntityType


Type: SystemString
name of root element to use when building a complete XML representation of this entity.
Type: System.XmlXmlWriter
The writer to write the output to.
Type: System.Collections.GenericDictionaryGuid, IEntityCore
Dictionary with ObjectIDs of all the objects already processed. If this entity's ObjectID is in the Dictionary's key list, a ProcessedObjectReference tag is emitted and the routine simply returns.
Type: SD.LLBLGen.Pro.ORMSupportClassesXmlFormatAspect
The aspect flags to control the format of the XML produced
Type: SystemBoolean
if set to true, the start element produced is the absolute root element of the xml to produce.
Type: SystemBoolean
if set to true it will emit the entity type value in the root element as attribute.
See Also