예제 #1
0
        private DbClientBase(IAdoDriver driver, IDbConnection connection, IConnectionManager connectionManager, ISqlStatements sqlStatements, bool isTransactional, IDbTransaction transaction, IDbPipe pipe)
        {
            Ensure.That(driver, "driver").IsNotNull();
            Ensure.That(connection, "connection").IsNotNull();
            Ensure.That(connectionManager, "connectionManager").IsNotNull();
            Ensure.That(sqlStatements, "sqlStatements").IsNotNull();

            Id                = Guid.NewGuid();
            Driver            = driver;
            ConnectionManager = connectionManager;
            Connection        = connection;
            SqlStatements     = sqlStatements;
            IsTransactional   = isTransactional || transaction != null;
            Transaction       = transaction;
            Pipe              = pipe;
        }
예제 #2
0
 public Sql2005DbClient(IAdoDriver driver, IDbConnection connection, IDbTransaction transaction, IConnectionManager connectionManager, ISqlStatements sqlStatements, IDbPipe pipe)
     : base(driver, connection, transaction, connectionManager, sqlStatements, pipe)
 {
 }
 public SqlServerDbClient(IAdoDriver driver, IDbConnection connection, IConnectionManager connectionManager, ISqlStatements sqlStatements, IDbPipe pipe)
     : base(driver, connection, connectionManager, sqlStatements, pipe)
 {
 }
예제 #4
0
 protected DbClientBase(IAdoDriver driver, IDbConnection connection, IDbTransaction transaction, IConnectionManager connectionManager, ISqlStatements sqlStatements, IDbPipe pipe)
     : this(driver, connection, connectionManager, sqlStatements, true, transaction, pipe)
 {
 }
예제 #5
0
 protected DbClientBase(IAdoDriver driver, IDbConnection connection, IConnectionManager connectionManager, ISqlStatements sqlStatements, IDbPipe pipe)
     : this(driver, connection, connectionManager, sqlStatements, false, null, pipe)
 {
 }
예제 #6
0
 public SqlCe4DbClient(IAdoDriver driver, IDbConnection connection, IDbTransaction transaction, IConnectionManager connectionManager, ISqlStatements sqlStatements, IDbPipe pipe)
     : base(driver, connection, transaction, connectionManager, sqlStatements, pipe) { }