Exemplo n.º 1
0
 public void CreateDestination()
 {
     PerformAction(() =>
     {
         var dbDestination = new DbDestination(Settings.Current.Building.DestinationConnectionString);
         dbDestination.CreateDatabase(Settings.Current.CreateCDMDatabaseScript);
         dbDestination.CreateTables(Settings.Current.CreateCDMTablesScript);
     });
 }
Exemplo n.º 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);
            });
        }
Exemplo n.º 3
0
        public void CreateTablesStep()
        {
            var dbDestination = new DbDestination(Settings.Current.Building.DestinationConnectionString, Settings.Current.Building.DestinationSchemaName);

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