Skip to content

DdlStatement Class ​

Definition ​

Represents the result of executing a single DDL statement against the database.

  • Namespace: JASE.Database.Migration
  • Assembly: JASE.Database.dll

Constructors ​

NameDescription
DdlStatement()

Properties ​

NameDescription
AffectedRowsGets the number of rows affected by the statement, when reported by the provider.
SqlStatementGets the SQL statement that was executed.
SuccessGets a value indicating whether the statement completed successfully.
TimingsGets serialized timing information captured during statement execution.
TypeGets the logical DDL statement type that was executed.

Methods ​

NameDescription
DdlStatement Create(DdlStatementType type, string sql, NonQueryResult result)Creates a DdlStatement from the executed SQL and resulting execution metadata.

Remarks ​

This model is currently limited to table-level DDL tracking for app bootstrap and startup schema reconciliation scenarios.