private Objects.Database GenerateDatabase(DatabaseParameter param) { var db = new Objects.Database(); db.ConnectionString = param.ConnectionString; db.InitializeDatabase(); db.DatabaseToSchema(); return(db); }
private void ExportTableSql() { if (db == null) { db = new Objects.Database() { ConnectionString = _exportParameters.ConnectionString }; db.InitializeDatabase(); db.DatabaseToSchema(); } else { ExportTableObject(); } }