TDynamicProperty.Create Constructor
Overloads
- TDynamicProperty.Create(string, string, PTypeInfo)
- TDynamicProperty.Create(string, string, PTypeInfo, AbstractColumnAttribute)
TDynamicProperty.Create(string, string, PTypeInfo)
Creates a TDynamicProperty with no initial column or association definition.
Syntax
Unit: Aurelius.Mapping.Setup
constructor TDynamicProperty.Create(const AContainerName: string; const APropName: string; APropType: PTypeInfo);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | AContainerName | string | The name of the container member on the entity class that physically stores the property value. |
| const | APropName | string | The logical name used to identify this dynamic property in queries and mapping. |
| APropType | PTypeInfo | The RTTI type information for the property value type. |
See also
TDynamicProperty.Create(string, string, PTypeInfo, AbstractColumnAttribute)
Creates a TDynamicProperty with an initial column mapping definition.
Syntax
Unit: Aurelius.Mapping.Setup
constructor TDynamicProperty.Create(const AContainerName: string; const APropName: string; APropType: PTypeInfo; ColumnDef: AbstractColumnAttribute);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | AContainerName | string | The name of the container member on the entity class that physically stores the property value. |
| const | APropName | string | The logical name used to identify this dynamic property in queries and mapping. |
| APropType | PTypeInfo | The RTTI type information for the property value type. | |
| ColumnDef | AbstractColumn​Attribute | An AbstractColumn attribute that maps this property to a specific database column.Equivalent to calling AddColumn after construction. |