Метод | Описание | |
---|---|---|
Build ( IDbConnection connection, IDbTransaction transaction, ILogger logger ) : System |
Instantiates a build object which can execute object definition scripts.
|
|
BuildItemsAsync ( IEnumerable |
Builds the given items on the database. This method will first drop objects marked for Drop or DropAndCreate. It then creates or alters objects marked for Create, DropAndCreate, or Alter. If any one script fails to build, the entire transaction will be rolled back. |
Метод | Описание | |
---|---|---|
ApplyScriptsAsync ( IDictionary |
||
CreateAsync ( IEnumerable |
||
DropAsync ( IEnumerable |
public Build ( IDbConnection connection, IDbTransaction transaction, ILogger logger ) : System | ||
connection | IDbConnection | The open connection to the database. |
transaction | IDbTransaction | The open transaction on which the scripts should be executed. |
logger | ILogger | A logger |
Результат | System |
public BuildItemsAsync ( IEnumerable |
||
items | IEnumerable |
The items to build. |
Результат | Task |