Click or drag to resize

EntityCoreTFieldsPerformCustomXmlDeserialization Method

Performs custom XML deserialization for properties which have the CustomXmlSerializationAttribute. The xmlreader should be used to read the xml from. The reader is positioned on the StartElement of the property which has the name of the property. Check if the element is empty and if not, read till the reader is positioned on the EndElement of the property (which also has the same name). Your override has to set the property's value, using the descriptor's SetValue method.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
protected virtual void PerformCustomXmlDeserialization(
	PropertyDescriptor descriptor,
	XmlReader reader
)

Parameters

descriptor
Type: System.ComponentModelPropertyDescriptor
The descriptor of the property to deserialize the value for.
reader
Type: System.XmlXmlReader
The reader.
Remarks
Use this method to deserialize a value which was serialized with an override of PerformCustomXmlDeserialization. Adapter specific, Compact25 specific.
See Also