コード例 #1
0
        private void Init(JetProcessor processor, IEnumerable<string> columnDefinitions)
        {
            Connection = processor.Connection;
            Transaction = processor.Transaction;

            Create(columnDefinitions);
        }
コード例 #2
0
 public void SetUp()
 {
     Connection = new OleDbConnection(IntegrationTestOptions.Jet.ConnectionString);
     Processor = new JetProcessor(Connection, new JetGenerator(), new TextWriterAnnouncer(System.Console.Out), new ProcessorOptions());
     Connection.Open();
 }
コード例 #3
0
 public JetTestTable(string tableName, JetProcessor processor, params string[] columnDefinitions)
 {
     Name = quoter.QuoteTableName(tableName);
     Init(processor, columnDefinitions);
 }
コード例 #4
0
 public JetTestTable(JetProcessor processor, params string[] columnDefinitions)
 {
     Name = "Table" + Guid.NewGuid().ToString("N");
     Init(processor, columnDefinitions);
 }