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);
        }
コード例 #2
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 = (MySQLSessionDatabaseConfiguration)obj;

            return(SessionUser == other.SessionUser &&
                   SessionPassword == other.SessionPassword &&
                   Server == other.Server &&
                   Schema == other.Schema &&
                   ImplementsElevatedPrivilegesOperations == other.ImplementsElevatedPrivilegesOperations &&
                   UsedAuthenticationMode == other.UsedAuthenticationMode &&
                   SessionAdvancedSettings == other.SessionAdvancedSettings);
        }
コード例 #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);
        }
コード例 #4
0
        public SessionConfigurationManager(ISessionDatabaseConfiguration sessionConfiguration)
            : base(sessionConfiguration)
        {
            PreProcessedStatements = new ArrayList();

            var config = (SessionDatabaseConfiguration)sessionConfiguration;

            config.SqlEngineEdition = ConfigurationManagerUtils.GetSqlEngineEdition(sessionConfiguration);
        }
コード例 #5
0
 public BaseSessionConfigurationManager(ISessionDatabaseConfiguration sessionConfiguration)
 {
     this.sessionConfiguration = sessionConfiguration;
 }
コード例 #6
0
 public SessionConfigurationManager(ISessionDatabaseConfiguration sessionConfiguration)
     : base(sessionConfiguration)
 {
 }
 public abstract bool Equals(ISessionDatabaseConfiguration other);
コード例 #8
0
 public ISessionConfigurationManager GetSessionConfigurationManager(ISessionDatabaseConfiguration uiConfiguration, IPlatformDatabaseConfiguration platformConfiguration)
 {
     return(new SessionConfigurationManager(uiConfiguration));
 }