Пример #1
0
        public OracleTestTable(string table, GenericProcessorBase processor, string schema, params string[] columnDefinitions)
        {
            _processor = processor;
            _schema    = schema;

            if (Connection.State != ConnectionState.Open)
            {
                Connection.Open();
            }

            Name = table;
            Create(columnDefinitions);
        }
Пример #2
0
        public OracleTestTable(GenericProcessorBase processor, string schema, params string[] columnDefinitions)
        {
            Options     = new TestMigrationProcessorOptions();
            Connection  = processor.Connection;
            Transaction = processor.Transaction;
            Factory     = processor.Factory;
            _schema     = schema;

            if (Connection.State != ConnectionState.Open)
            {
                Connection.Open();
            }

            Name = "TestTable";
            Create(columnDefinitions);
        }
 public DbFactoryWrapper(GenericProcessorBase processor)
 {
     _processor = processor;
 }