public override void Set(IPlatformDatabaseConfiguration conf) { if (conf != null) { var other = (PlatformDatabaseConfiguration)conf; this.AdminPassword = other.AdminPassword; this.AdminTablespace = other.AdminTablespace; this.AdminUser = other.AdminUser; this.AdvancedConfigurationMode = other.AdvancedConfigurationMode; this.AuthenticationMode = other.AuthenticationMode; this.CI_AI = other.CI_AI; this.DateFunction = other.DateFunction; this.DDLLockTimeout = other.DDLLockTimeout; this.Host = other.Host; this.IndexTablespace = other.IndexTablespace; this.IntrospectionMethod = other.IntrospectionMethod; this.NamingType = (NamingMethod)other.NamingType; this.NLS_Language = other.NLS_Language; this.NLS_Territory = other.NLS_Territory; this.Port = other.Port; this.RuntimeAdvancedSettings = other.RuntimeAdvancedSettings; this.RuntimePassword = other.RuntimePassword; this.RuntimeTablespace = other.RuntimeTablespace; this.RuntimeUser = other.RuntimeUser; this.ServiceName = other.ServiceName; this.TNSName = other.TNSName; } }
public PlatformConfigurationManager(IPlatformDatabaseConfiguration uiConfiguration) : base(uiConfiguration) { var config = (PlatformDatabaseConfiguration)uiConfiguration; config.SqlEngineEdition = ConfigurationManagerUtils.GetSqlEngineEdition(uiConfiguration); }
public override bool Equals(IPlatformDatabaseConfiguration obj) { if ((object)this == (object)obj) { return(true); } if (obj == null) { return(false); } if (GetType() != obj.GetType()) { return(false); } var other = (PlatformDatabaseConfiguration)obj; return(Server == other.Server && Catalog == other.Catalog && Unicode == other.Unicode && ImplementsElevatedPrivilegesOperations == other.ImplementsElevatedPrivilegesOperations && AuthenticationMode == other.AuthenticationMode && RuntimeUser == other.RuntimeUser && RuntimePassword == other.RuntimePassword && AdminUser == other.AdminUser && AdminPassword == other.AdminPassword && LogUser == other.LogUser && LogPassword == other.LogPassword && RuntimeAdvancedSettings == other.RuntimeAdvancedSettings && ServicesAdvancedSettings == other.ServicesAdvancedSettings); }
public SessionConfigurationManager(ISessionDatabaseConfiguration sessionConfiguration, IPlatformDatabaseConfiguration platformConfiguration) : base(sessionConfiguration) { PreProcessedStatements = new ArrayList(); this.platformConfiguration = platformConfiguration; var config = (SessionDatabaseConfiguration)sessionConfiguration; config.SqlEngineEdition = ConfigurationManagerUtils.GetSqlEngineEdition(sessionConfiguration); }
public override void Set(IPlatformDatabaseConfiguration conf) { if (conf != null) { var other = (MySQLPlatformDatabaseConfiguration)conf; Server = other.Server; Schema = other.Schema; AdminUser = other.AdminUser; AdminPassword = other.AdminPassword; RuntimeUser = other.LogUser; RuntimePassword = other.LogPassword; RuntimeAdvancedSettings = other.RuntimeAdvancedSettings; AdvancedConfigurationMode = other.AdvancedConfigurationMode; AuthenticationMode = other.AuthenticationMode; } }
public override bool Equals(IPlatformDatabaseConfiguration obj) { if (this == obj) { return(true); } if (obj == null) { return(false); } if (GetType() != obj.GetType()) { return(false); } var other = (PlatformDatabaseConfiguration)obj; return(AdminTablespace == other.AdminTablespace && RuntimeTablespace == other.RuntimeTablespace && LogTablespace == other.LogTablespace && Host == other.Host && Port == other.Port && ServiceName == other.ServiceName && ImplementsElevatedPrivilegesOperations == other.ImplementsElevatedPrivilegesOperations && AuthenticationMode == other.AuthenticationMode && RuntimeUser == other.RuntimeUser && RuntimePassword == other.RuntimePassword && AdminUser == other.AdminUser && AdminPassword == other.AdminPassword && LogUser == other.LogUser && LogPassword == other.LogPassword && RuntimeAdvancedSettings == other.RuntimeAdvancedSettings && ServicesAdvancedSettings == other.ServicesAdvancedSettings && IntrospectionMethod == other.IntrospectionMethod && CI_AI == other.CI_AI && DateFunction == other.DateFunction && DDLLockTimeout == other.DDLLockTimeout && NLS_Language == other.NLS_Language && NLS_Territory == other.NLS_Territory); }
public override void Set(IPlatformDatabaseConfiguration conf) { if (conf != null) { var other = (PlatformDatabaseConfiguration)conf; Server = other.Server; Catalog = other.Catalog; Unicode = other.Unicode; AuthenticationMode = other.AuthenticationMode; RuntimeUser = other.RuntimeUser; RuntimePassword = other.RuntimePassword; AdminUser = other.AdminUser; AdminPassword = other.AdminPassword; RuntimeAdvancedSettings = other.RuntimeAdvancedSettings; ElevatedAuthenticationCredential = other.ElevatedAuthenticationCredential; SqlEngineEdition = other.SqlEngineEdition; UsedAuthenticationMode = other.UsedAuthenticationMode; ElevatedUserAuthenticationMode = other.ElevatedUserAuthenticationMode; } }
public abstract void Set(IPlatformDatabaseConfiguration conf);
public abstract bool Equals(IPlatformDatabaseConfiguration other);
public TwoUserDatabaseConfigurationManager(ISettableTwoUserDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration systemDatabaseConfig) : base(uiConfiguration) { this.systemDatabaseServiceName = ((PlatformDatabaseConfiguration)systemDatabaseConfig).AdminUser; }
public BasePlatformConfigurationManager(IPlatformDatabaseConfiguration uiConfiguration) { this.uiConfiguration = uiConfiguration; }
// 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 BasePlatformConfigurationManager(IPlatformDatabaseConfiguration uiConfiguration) : base(uiConfiguration) { }
public BusinessDatabaseConfigurationManager(ISettableTwoUserDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration systemDatabaseConfig) : base(uiConfiguration, systemDatabaseConfig) { }
public IPlatformConfigurationManager GetPlatformConfigurationManager(IPlatformDatabaseConfiguration uiConfiguration) { return(new PlatformConfigurationManager(uiConfiguration)); }
// TODO jmt: remove the systemDatabaseName parameter after we don't need synonyms anymore. public LoggingDatabaseConfigurationManager(ISettableTwoUserDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration systemDatabaseconfig) : base(uiConfiguration, systemDatabaseconfig) { }
public ITwoUserDatabaseConfigurationManager GetBusinessConfigurationManager(ISettableTwoUserDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration systemDatabaseConfig) { return(new BusinessDatabaseConfigurationManager(uiConfiguration, systemDatabaseConfig)); }
public ISessionConfigurationManager GetSessionConfigurationManager(ISessionDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration platformConfiguration) { return(new SessionConfigurationManager(uiConfiguration)); }
public ITwoUserDatabaseConfigurationManager GetLoggingConfigurationManager(ISettableTwoUserDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration systemDatabaseConfig) { return(new LoggingDatabaseConfigurationManager(uiConfiguration, systemDatabaseConfig)); }