private void Init(JetProcessor processor, IEnumerable<string> columnDefinitions) { Connection = processor.Connection; Transaction = processor.Transaction; Create(columnDefinitions); }
public void SetUp() { Connection = new OleDbConnection(IntegrationTestOptions.Jet.ConnectionString); Processor = new JetProcessor(Connection, new JetGenerator(), new TextWriterAnnouncer(System.Console.Out), new ProcessorOptions()); Connection.Open(); }
public JetTestTable(string tableName, JetProcessor processor, params string[] columnDefinitions) { Name = quoter.QuoteTableName(tableName); Init(processor, columnDefinitions); }
public JetTestTable(JetProcessor processor, params string[] columnDefinitions) { Name = "Table" + Guid.NewGuid().ToString("N"); Init(processor, columnDefinitions); }