Click or drag to resize
EntityCoreTFieldsPerformCustomXmlSerialization Method
Performs custom XML serialization for properties which have the CustomXmlSerializationAttribute. Override this method if for some property the data has to be serialized into the output. The xmlwriter should be used to write xml to. You shouldn't emit a startelement with the propertyname, that's already done. Also you shouldn't emit an endelement with the propertyname, that will be done for you. Simply emit XML with the data. Be sure the xml data is valid. You can use the XmlHelper class if necessary.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: (5.3.0)
protected virtual void PerformCustomXmlSerialization(
	PropertyDescriptor descriptor,
	Object propertyValue,
	XmlWriter writer,
	XmlFormatAspect aspects


Type: System.ComponentModelPropertyDescriptor
The descriptor of the property to serialize.
Type: SystemObject
The property value.
Type: System.XmlXmlWriter
The writer.
Type: SD.LLBLGen.Pro.ORMSupportClassesXmlFormatAspect
The aspects.
Deserialize the value with an override of PerformCustomXmlDeserialization. Adapter specific, Compact25 specific.
See Also