Skip to content

Create Method ​

Definition ​

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

DdlStatement Create(DdlStatementType type, string sql, NonQueryResult result) ​

csharp
DdlStatement Create(DdlStatementType type, string sql, NonQueryResult result)

Creates a DdlStatement from the executed SQL and resulting execution metadata.

Parameters ​

NameDescription
resultThe execution result returned by the database provider.
sqlThe SQL statement that was executed.
typeThe logical DDL statement type represented by the executed SQL.

Returns ​

A populated DdlStatement instance.