Example #1
0
 /// <summary>
 /// 用于执行不带有事务性的多指令操作。
 /// </summary>
 /// <param name="commands"></param>
 public CommandSet(CommandType commandType, ExecuteMothodType commandSetType, ReturnResultType returnType)
 {
     this.commandType = commandType;
     this.executeType = commandSetType;
     this.returnType  = returnType;
     Initialize();
 }
Example #2
0
 public CommandSet(CommandType commandType, ExecuteMothodType commandSetType, ReturnResultType returnType, string transactionId)
 {
     this.commandType   = commandType;
     this.executeType   = commandSetType;
     this.returnType    = returnType;
     this.transactionId = transactionId;
     Initialize();
 }