Example #1
0
 public void AddCreateTableBatch(Table table, QuoteType quoteType = QuoteType.NotQuoted)
 {
     AddBatch(Generator.GeneratePrintStatement($"Creating table [{table.Schema}].[{table.Name}]"));
     AddBatch(
         ScriptFactory.CreateTable(false, false, false,
                                   Generator.GenerateSchemaObjectName(table, quoteType),
                                   ScriptFactory.TableDefinition(null,
                                                                 Generator.GenerateColumnDefinitions(table, quoteType))));
 }