public override bool Equals(ISessionDatabaseConfiguration obj)
        {
            if ((object)this == (object)obj)
            {
                return(true);
            }

            if (obj == null)
            {
                return(false);
            }

            if (GetType() != obj.GetType())
            {
                return(false);
            }

            var other = (SessionDatabaseConfiguration)obj;

            return(SessionUser == other.SessionUser &&
                   SessionPassword == other.SessionPassword &&
                   Server == other.Server &&
                   Catalog == other.Catalog &&
                   DeleteExpiredSessionsAvoidLockRowCount == other.DeleteExpiredSessionsAvoidLockRowCount &&
                   ImplementsElevatedPrivilegesOperations == other.ImplementsElevatedPrivilegesOperations &&
                   AuthenticationMode == other.AuthenticationMode &&
                   SessionAdvancedSettings == other.SessionAdvancedSettings);
        }
        public override bool Equals(ISessionDatabaseConfiguration obj)
        {
            if ((object)this == (object)obj)
            {
                return(true);
            }

            if (obj == null)
            {
                return(false);
            }

            if (GetType() != obj.GetType())
            {
                return(false);
            }

            var other = (MySQLSessionDatabaseConfiguration)obj;

            return(SessionUser == other.SessionUser &&
                   SessionPassword == other.SessionPassword &&
                   Server == other.Server &&
                   Schema == other.Schema &&
                   ImplementsElevatedPrivilegesOperations == other.ImplementsElevatedPrivilegesOperations &&
                   UsedAuthenticationMode == other.UsedAuthenticationMode &&
                   SessionAdvancedSettings == other.SessionAdvancedSettings);
        }
Ejemplo n.º 3
0
        public override bool Equals(ISessionDatabaseConfiguration obj)
        {
            if ((object)this == (object)obj)
            {
                return(true);
            }

            if (obj == null)
            {
                return(false);
            }

            if (GetType() != obj.GetType())
            {
                return(false);
            }

            var other = (SessionDatabaseConfiguration)obj;

            return(SessionUser == other.SessionUser &&
                   SessionPassword == other.SessionPassword &&
                   Host == other.Host &&
                   Port == other.Port &&
                   ServiceName == other.ServiceName &&
                   SessionTablespace == other.SessionTablespace &&
                   ImplementsElevatedPrivilegesOperations == other.ImplementsElevatedPrivilegesOperations &&
                   AuthenticationMode == other.AuthenticationMode &&
                   SessionAdvancedSettings == other.SessionAdvancedSettings &&
                   NLS_Language == other.NLS_Language &&
                   NLS_Territory == other.NLS_Territory);
        }
Ejemplo n.º 4
0
        public SessionConfigurationManager(ISessionDatabaseConfiguration sessionConfiguration)
            : base(sessionConfiguration)
        {
            PreProcessedStatements = new ArrayList();

            var config = (SessionDatabaseConfiguration)sessionConfiguration;

            config.SqlEngineEdition = ConfigurationManagerUtils.GetSqlEngineEdition(sessionConfiguration);
        }
Ejemplo n.º 5
0
 public BaseSessionConfigurationManager(ISessionDatabaseConfiguration sessionConfiguration)
 {
     this.sessionConfiguration = sessionConfiguration;
 }
 public SessionConfigurationManager(ISessionDatabaseConfiguration sessionConfiguration)
     : base(sessionConfiguration)
 {
 }
 public abstract bool Equals(ISessionDatabaseConfiguration other);
 public ISessionConfigurationManager GetSessionConfigurationManager(ISessionDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration platformConfiguration)
 {
     return(new SessionConfigurationManager(uiConfiguration));
 }