public override bool Equals(ITwoUserDatabaseConfiguration 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 &&
                   RuntimeAdvancedSettings == other.RuntimeAdvancedSettings);
        }
        public override bool Equals(ITwoUserDatabaseConfiguration 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);
        }
Exemple #3
0
 public AbstractTwoUserDatabaseConfigurationManager(ITwoUserDatabaseConfiguration uiConfiguration)
 {
     this.uiConfiguration = uiConfiguration;
 }
 public abstract bool Equals(ITwoUserDatabaseConfiguration other);