Table of Contents

TDatabaseManager.UpdateDatabase Method

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

Remarks

Calls ValidateDatabase to determine required changes, then executes the generated SQL when SQLExecutionEnabled is True. Only additive changes are applied by default. Set AllowDestructiveCommands to True to permit DROP TABLE and DROP SEQUENCE statements. Wraps execution in a transaction when UseTransactions is True; rolls back on failure.

Syntax

Unit: Aurelius.Engine.DatabaseManager

procedure TDatabaseManager.UpdateDatabase;

See also