TAbstractManager.Create Constructor
Overloads
TAbstractManager.Create(IDBConnection)
Creates a new manager instance using the specified database connection and the default mapping model.
Syntax
Unit: Aurelius.Engine.AbstractManager
constructor TAbstractManager.Create(Connection: IDBConnection);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Connection | IDBConnection | The database connection used for all SQL operations. Must not be nil. |
See also
TAbstractManager.Create(IDBConnection, TMappingExplorer)
Creates a new manager instance using the specified database connection and mapping explorer.
Syntax
Unit: Aurelius.Engine.AbstractManager
constructor TAbstractManager.Create(Connection: IDBConnection; AExplorer: TMappingExplorer);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Connection | IDBConnection | The database connection used for all SQL operations. Must not be nil; raises ENoManagerConnection if nil is passed. |
|
| AExplorer | TMappingExplorer | The TMappingExplorer that provides the mapping model. Pass nil to use the default global mapping model. |