예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((LoginName != null ? LoginName.GetHashCode() : 0) * 397) ^ OracleId.GetHashCode());
     }
 }
예제 #2
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (LoginName.Length != 0)
        {
            hash ^= LoginName.GetHashCode();
        }
        if (UserId != 0L)
        {
            hash ^= UserId.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
예제 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (CreatedDT.Length != 0)
            {
                hash ^= CreatedDT.GetHashCode();
            }
            if (ModifiedDT.Length != 0)
            {
                hash ^= ModifiedDT.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (LoginName.Length != 0)
            {
                hash ^= LoginName.GetHashCode();
            }
            if (PasswordHash.Length != 0)
            {
                hash ^= PasswordHash.GetHashCode();
            }
            if (AuthenticationToken.Length != 0)
            {
                hash ^= AuthenticationToken.GetHashCode();
            }
            if (IsActive != false)
            {
                hash ^= IsActive.GetHashCode();
            }
            if (IsAdmin != false)
            {
                hash ^= IsAdmin.GetHashCode();
            }
            return(hash);
        }
예제 #4
0
 public override int GetHashCode()
 {
     return(LoginName.GetHashCode());
 }