TEnumMappingType Enumeration
Specifies how enumerated type values are stored in the database column.
Remarks
Pass one of these values to EnumerationAttribute.Create. When using emChar or emString, supply the corresponding mapped values in the same declaration order as the enumerated constants.
Syntax
Unit: Aurelius.Mapping.Metadata
Members
| Name | Value | Description |
|---|---|---|
| emChar | 0 | Each enumerated value is stored as a single uppercase character. The mapped values must be provided as a comma-separated list of single uppercase letters. |
| emInteger | 1 | Each enumerated value is stored as its ordinal integer value in the database. No explicit mapped values are required. |
| emString | 2 | Each enumerated value is stored as its string name (or a custom string provided in the mapped values list) in the database. |