Table of Contents

TAureliusDBSchema.UpdateDatabase Method

Validates the database schema and executes the DDL statements needed to bring it in line with the mapping model.

Remarks

Internally calls ValidateDatabase to determine required changes and then executes the generated SQL. Only additive changes (new tables, columns, indexes, foreign keys, and sequences) are applied by default; destructive changes require TDatabaseManager.AllowDestructiveCommands to be enabled on the underlying DBManager.

Syntax

Unit: Aurelius.Comp.DBSchema

procedure TAureliusDBSchema.UpdateDatabase;

See also