EntityCoreTFieldsGetAdditionalRelatedData Method |
Gets the additional related data, next to the data returned by GetRelatedData. This method appends the additional related data to
the passed in toAppendTo dictionary. Key is the property name, value is the entity object or entity collection represented by the property.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax protected virtual Dictionary<string, Object> GetAdditionalRelatedData(
Dictionary<string, Object> toAppendTo
)
Protected Overridable Function GetAdditionalRelatedData (
toAppendTo As Dictionary(Of String, Object)
) As Dictionary(Of String, Object)
Parameters
- toAppendTo
- Type: System.Collections.GenericDictionaryString, Object
To append to. the collection to append the additional related data to
Return Value
Type:
DictionaryString,
Objectthe passed in toAppendTo collection
Remarks Used in Compact/Compact25 XML serialization to serialize entity collections without needing to custom serialization. Only
add IEntityCore or IEntityCollectionCore implementing objects to the passed in dictionary. If you want to serialize custom classes, use
the Compact25 format and custom serialization using the CustomXmlSerializationAttribute attribute
See Also