메소드 | 설명 | |
---|---|---|
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 |