Esempio n. 1
0
        static ConfigurationPropertyHolder GetRoundhousEConfiguration(Logger log)
        {
            //roundhouse needs a client api - you may want to make one for him?

            var config = new RoundhousEConfig(log)
            {
                DatabaseName       = _databaseName,
                ServerName         = _instanceName,
                DatabaseType       = _databaseType,
                Drop               = _dropDatabase,
                SqlFilesDirectory  = _scriptsLocation,
                EnvironmentName    = _environmentName,
                RecoveryModeSimple = _useSimpleRecoveryMode,
                Silent             = true
            };

            return(config);
        }
Esempio n. 2
0
        static ConfigurationPropertyHolder GetRoundhousEConfiguration(Logger log)
        {
            //roundhouse needs a client api - you may want to make one for him?

            var config = new RoundhousEConfig(log)
                             {
                                 DatabaseName = _databaseName,
                                 ServerName = _instanceName,
                                 DatabaseType = _databaseType,
                                 Drop = _dropDatabase,
                                 SqlFilesDirectory = _scriptsLocation,
                                 EnvironmentName = _environmentName,
                                 RecoveryModeSimple = _useSimpleRecoveryMode,
                                 Silent = true
                             };
            return config;
        }