Пример #1
0
 public Db2Generator(
     Db2Quoter quoter)
     : this(
         quoter,
         new OptionsWrapper <GeneratorOptions>(new GeneratorOptions()))
 {
 }
 public void SetUp()
 {
     Factory = new Db2DbFactory();
     Connection = Factory.CreateConnection(IntegrationTestOptions.Db2.ConnectionString);
     Quoter = new Db2Quoter();
     Processor = new Db2Processor(Connection, new Db2Generator(), new TextWriterAnnouncer(System.Console.Out), new ProcessorOptions(), Factory);
     Connection.Open();
 }
Пример #3
0
 public Db2Generator(
     Db2Quoter quoter,
     IOptions <GeneratorOptions> generatorOptions)
     : base(new Db2Column(quoter), quoter, new EmptyDescriptionGenerator(), generatorOptions)
 {
 }