示例#1
0
 public DalSqlCommand(CommandType iCommandType, string iCommandText, IDalSqlConnection iConnection, IDalSqlTransaction iTransaction)
     : this(iCommandText, iConnection, iTransaction)
 {
     _connection         = iConnection;
     _transaction        = iTransaction;
     command.CommandType = iCommandType;
 }
示例#2
0
 public DalSqlCommand(string iCommandText, IDalSqlConnection iConnection, IDalSqlTransaction iTransaction)
     : this(iCommandText, iConnection)
 {
     _connection         = iConnection;
     _transaction        = iTransaction;
     command.Transaction = iTransaction.Transaction;
 }
 public INonQueryFluentSqlCommand SetConnection(IDalSqlConnection iConnection)
 {
     SetConnectionImpl(iConnection);
     return(this);
 }
示例#4
0
 public ISingleReaderFluentSqlCommand <T> SetConnection(IDalSqlConnection iConnection)
 {
     SetConnectionImpl(iConnection);
     return(this);
 }
 protected void SetConnectionImpl(IDalSqlConnection iConnection)
 {
     Connection = iConnection;
 }
示例#6
0
 public DalSqlCommand(string iCommandText, IDalSqlConnection iConnection)
 {
     _connection = iConnection;
     command     = new SqlCommand(iCommandText, iConnection.Connection);
 }
 public IScalarFluentSqlCommand SetConnection(IDalSqlConnection iConnection)
 {
     SetConnectionImpl(iConnection);
     return(this);
 }
示例#8
0
 public IFluentSqlTransactionFactory SetDefaultConnection(IDalSqlConnection iConnection)
 {
     DefaultConnection = iConnection;
     return(this);
 }