CustomPropertyDataAttributeTEntityGetComplexTypeAccessor Method |
Gets the complex type value accessor or null if the attribute does not support it.
Complex type values are frequently used in Entity Data Models.
Namespace:
Aloe.EnterpriseOne.Model.General
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic override IValueAccessor<IDictionary<string, Object>> GetComplexTypeAccessor()
Public Overrides Function GetComplexTypeAccessor As IValueAccessor(Of IDictionary(Of String, Object))
public:
virtual IValueAccessor<IDictionary<String^, Object^>^>^ GetComplexTypeAccessor() override
abstract GetComplexTypeAccessor : unit -> IValueAccessor<IDictionary<string, Object>>
override GetComplexTypeAccessor : unit -> IValueAccessor<IDictionary<string, Object>>
Return Value
Type:
IValueAccessorIDictionaryString,
Object
The complex type value accessor.
Implements
IDataAttributeGetComplexTypeAccessorIDataAttributeGetComplexTypeAccessor
Remarks
A complex type is a template for defining rich, structured properties on entity types.
Complex types do not have identities and therefore cannot exist independently.
Complex types can only exist as properties on entity types.
Complex types contain type properties.
Each property has a name, unique within the complex type.
When the value of a complex type is get or set for a specified domain object, the type properties
contain values, specific to the domain object.
Generally, ED models allow each property to also be a complex type, but this library does not
support this scenario.
For example, an Amount value might be a complex type, comprising of type properties, called "Currency" and
"Value".
When the value of the complex type is get for a specified object, the contents might be:
- Currency: "EUR"
- Value: "300.00"
See Also