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);
        }
예제 #2
0
        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);
        }