ColumnAttribute Class
Specifies the database table column where a class field or property value will be saved.
Remarks
Use Column to map a field or property to a specific table column. Aurelius determines the column data type automatically from the field or property type.
Only members decorated with Column are persisted unless the class uses the Automapping attribute.
Use Length for string columns to set the maximum character length (maps to VARCHAR).
Use Precision and Scale for numeric columns.
Syntax
Unit: Aurelius.Mapping.Attributes
ColumnAttribute = class(AbstractColumnAttribute);
Constructors
| Name | Description |
|---|---|
| Create | Overloaded Create(string) Create(string, TColumnProps, Integer) Create(string, TColumnProps, Integer, Integer) |
Methods
| Name | Description |
|---|---|
| Clone | Returns a deep copy of this attribute instance. |