Exemple #1
0
 public Test2()
 {
     id         = new UserKey();
     id.Userid  = 0;
     id.Loginid = String.Empty;
     username   = String.Empty;
 }
Exemple #2
0
        public Test2(
            int uid, String lid)
            : this()
        {
            id         = new UserKey();
            id.Userid  = uid;
            id.Loginid = lid;

            username = String.Empty;
        }
Exemple #3
0
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            UserKey key = obj as UserKey;

            if (key == null)
            {
                return(false);
            }
            if (userid != key.userid || loginid != key.loginid)
            {
                return(false);
            }
            return(true);
        }