// TODO jmt: remove the systemDatabaseName parameter after we don't need synonyms anymore.
        public TwoUserDatabaseConfigurationManager(ISettableTwoUserDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration systemDatabaseconfig)
            : base(uiConfiguration)
        {
            extraTokens.Add("[SYSTEM_DB]", ((IDatabaseConfiguration)systemDatabaseconfig).Catalog);

            var config = (TwoUserDatabaseConfiguration)uiConfiguration;

            config.SqlEngineEdition = ConfigurationManagerUtils.GetSqlEngineEdition(uiConfiguration);
        }
 public MySQLTwoUserDatabaseConfigurationManager(ISettableTwoUserDatabaseConfiguration uiConfiguration) : base(uiConfiguration)
 {
 }
 public TwoUserDatabaseConfigurationManager(ISettableTwoUserDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration systemDatabaseConfig) : base(uiConfiguration)
 {
     this.systemDatabaseServiceName = ((PlatformDatabaseConfiguration)systemDatabaseConfig).AdminUser;
 }
 public BusinessDatabaseConfigurationManager(ISettableTwoUserDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration systemDatabaseConfig) : base(uiConfiguration, systemDatabaseConfig)
 {
 }
Пример #5
0
 // TODO jmt: remove the systemDatabaseName parameter after we don't need synonyms anymore.
 public LoggingDatabaseConfigurationManager(ISettableTwoUserDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration systemDatabaseconfig)
     : base(uiConfiguration, systemDatabaseconfig)
 {
 }
 public ITwoUserDatabaseConfigurationManager GetLoggingConfigurationManager(ISettableTwoUserDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration systemDatabaseConfig)
 {
     return(new LoggingDatabaseConfigurationManager(uiConfiguration, systemDatabaseConfig));
 }
 public ITwoUserDatabaseConfigurationManager GetBusinessConfigurationManager(ISettableTwoUserDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration systemDatabaseConfig)
 {
     return(new BusinessDatabaseConfigurationManager(uiConfiguration, systemDatabaseConfig));
 }