Пример #1
0
 public void CreateDestination()
 {
     PerformAction(() =>
     {
         var dbDestination = new DbDestination(Settings.Current.Building.DestinationConnectionString);
         dbDestination.CreateDatabase(Settings.Current.CreateCDMDatabaseScript);
         dbDestination.CreateTables(Settings.Current.CreateCDMTablesScript);
     });
 }
Пример #2
0
        public void CreateDestination()
        {
            PerformAction(() =>
            {
                var dbDestination = new DbDestination(Settings.Current.Building.DestinationConnectionString, Settings.Current.Building.DestinationSchemaName);


                if (Settings.Current.Building.DestinationEngine.Database != Database.Redshift)
                {
                    dbDestination.CreateDatabase(Settings.Current.CreateCDMDatabaseScript);
                }

                dbDestination.CreateTables(Settings.Current.CreateCDMTablesScript);
            });
        }
Пример #3
0
        public void CreateTablesStep()
        {
            var dbDestination = new DbDestination(Settings.Current.Building.DestinationConnectionString, Settings.Current.Building.DestinationSchemaName);

            dbDestination.CreateTables(Settings.Current.CreateCDMTablesScript);
        }