コード例 #1
0
ファイル: DatabaseUpgrader.cs プロジェクト: mdavid626/triton
 private UpgradeEngineBuilder ConfigureTransactions(UpgradeEngineBuilder builder)
 {
     if (TransactionOption == TransactionOption.Transaction)
         return builder.WithTransaction();
     if (TransactionOption == TransactionOption.TransactionPerScript)
         return builder.WithTransactionPerScript();
     return builder.WithoutTransaction();
 }