AutomappingAttribute Class
Indicates that the class is automapped, meaning Aurelius will automatically infer mapping information from the class declaration.
Remarks
When this attribute is present, Aurelius maps the class without requiring explicit Table, Column, or association attributes. The table name is derived from the class name (the leading "T" is removed and names are uppercased). Each field is automatically mapped to a table column. You can still override specific mappings by providing explicit attributes alongside Automapping.
Syntax
Unit: Aurelius.Mapping.Attributes
AutomappingAttribute = class(TCustomAttribute);
Constructors
| Name | Description |
|---|---|
| Create | Overloaded Create Create(TClass) |
Properties
| Name | Description |
|---|---|
| EngineClass | Gets the custom automapping engine class, or nil if the default engine is used. |