Table of Contents

TDatabaseManager.Create Constructor

Overloads

TDatabaseManager.Create(IDBConnection, TMappingExplorer)

Creates a new TDatabaseManager using the given connection and a single mapping explorer.

Syntax

Unit: Aurelius.Engine.DatabaseManager

constructor TDatabaseManager.Create(Connection: IDBConnection; AExplorer: TMappingExplorer);

Parameters

<-> Parameter Type Description
Connection IDBConnection The database connection used for schema inspection and DDL execution.
AExplorer TMappingExplorer The TMappingExplorer that provides the entity mapping model. Pass nil to use the default global mapping model.

See also

TDatabaseManager.Create(IDBConnection, TArray<TMappingExplorer>)

Creates a new TDatabaseManager using the given connection and multiple mapping explorers.

Syntax

Unit: Aurelius.Engine.DatabaseManager

constructor TDatabaseManager.Create(Connection: IDBConnection; AExplorers: TArray<TMappingExplorer>);

Parameters

<-> Parameter Type Description
Connection IDBConnection The database connection used for schema inspection and DDL execution.
AExplorers TArray<TMappingExplorer> An array of TMappingExplorer instances whose entity classes are combined into a single target schema. Must contain at least one element; raises EOPFInternalError if empty.

See also