示例#1
0
 public void MakeTransaction(IEnumerable <ExecuteCommand> commands)
 {
     if (commands.Any())
     {
         SetTransactionStrategy(commands.FirstOrDefault());
         ExecuteTask(() =>
         {
             transactionStrategy.MakeTransaction(commands, connection);
             return(true);
         });
     }
 }