예제 #1
0
        public override bool Equals(IApplicationDatabaseConfiguration obj)
        {
            if ((object)this == (object)obj)
            {
                return(true);
            }

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

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

            var other = (MySQLApplicationDatabaseConfiguration)obj;

            return(Server == other.Server &&
                   Schema == other.Schema &&
                   ImplementsElevatedPrivilegesOperations == other.ImplementsElevatedPrivilegesOperations &&
                   UsedAuthenticationMode == other.UsedAuthenticationMode &&
                   AdminUser == other.AdminUser &&
                   AdminPassword == other.AdminPassword &&
                   RuntimeUser == other.RuntimeUser &&
                   RuntimePassword == other.RuntimePassword &&
                   RuntimeAdvancedSettings == other.RuntimeAdvancedSettings &&
                   ServicesAdvancedSettings == other.ServicesAdvancedSettings);
        }
예제 #2
0
        public override bool Equals(IApplicationDatabaseConfiguration obj)
        {
            if (this == obj)
            {
                return(true);
            }

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

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

            var other = (ApplicationDatabaseConfiguration)obj;

            return(RuntimeTablespace == other.RuntimeTablespace &&
                   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 &&
                   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);
        }
예제 #3
0
 public RoleStore(IApplicationDatabaseConfiguration applicationDatabaseConfiguration)
 {
     this.applicationDatabaseConfiguration = applicationDatabaseConfiguration;
 }
예제 #4
0
 public RoleStore(IApplicationDatabaseConfiguration applicationDatabaseConfiguration)
 {
     this.applicationDatabaseConfiguration = applicationDatabaseConfiguration;
 }