private void GenerateDatabase(Output output, string databaseFile) { var command = new GenerateDatabaseCommand(); command.Extensions = Array.Empty <IFileSystemExtension>(); command.Output = output; command.OutputPath = databaseFile; command.KeepAddedColumns = true; command.UseSubDirectory = false; command.SuppressAddingValidationRows = true; command.TableDefinitions = this.TableDefinitions; command.IntermediateFolder = this.IntermediateFolder; command.Codepage = -1; command.Execute(); }
private void GenerateDatabase(WindowsInstallerData output, string databaseFile) { var command = new GenerateDatabaseCommand(this.Messaging, null, null, output, databaseFile, this.TableDefinitions, this.IntermediateFolder, codepage: -1, keepAddedColumns: true, suppressAddingValidationRows: true, useSubdirectory: false); command.Execute(); }