Beispiel #1
0
 protected NDbUnitTest(TDbConnection connection)
 {
     ConnectionManager = new DbConnectionManager <TDbConnection>(connection);
     _dbOperation      = CreateDbOperation();
 }
Beispiel #2
0
        //protected abstract IDbCommandBuilder CreateDbCommandBuilder(string connectionString);

        //protected abstract IDbCommandBuilder CreateDbCommandBuilder(IDbConnection connection);

        protected abstract IDbCommandBuilder CreateDbCommandBuilder(DbConnectionManager <TDbConnection> connectionManager);
Beispiel #3
0
 protected NDbUnitTest(string connectionString)
 {
     ConnectionManager = new DbConnectionManager <TDbConnection>(connectionString);
     _dbOperation      = CreateDbOperation();
 }
Beispiel #4
0
 protected DbCommandBuilder(DbConnectionManager <TDbConnection> connectionManager)
 {
     ConnectionManager = connectionManager;
 }