TDatabaseManager.BuildDatabase Method
Creates the database schema from scratch based on the mapping model.
Remarks
Generates DDL to create all tables, columns, indexes, foreign keys, and sequences defined by the mapping, as if the database were completely empty. Executes the DDL when SQLExecutionEnabled is True. Wraps execution in a transaction when UseTransactions is True; rolls back on failure.
Syntax
Unit: Aurelius.Engine.DatabaseManager
procedure TDatabaseManager.BuildDatabase;