Table of Contents

TAureliusDBSchema.BuildDatabase Method

Creates the database schema from scratch based on the current mapping model.

Remarks

Generates and executes DDL statements to create all tables, columns, indexes, foreign keys, and sequences defined in the mapping. Use on an empty database. Raises an exception and rolls back if any DDL statement fails.

Syntax

Unit: Aurelius.Comp.DBSchema

procedure TAureliusDBSchema.BuildDatabase;

See also