Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            MemberShip toCompare = obj as MemberShip;

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

            if (!Object.Equals(this.UserID, toCompare.UserID))
            {
                return(false);
            }

            return(true);
        }
Exemplo n.º 2
0
        public virtual object Clone()
        {
            MemberShip obj = new MemberShip();

            obj.UserID                                  = UserID;
            obj.CreateDate                              = CreateDate;
            obj.ConfirmationToken                       = ConfirmationToken;
            obj.IsConfirmed                             = IsConfirmed;
            obj.LastPasswordFailureDate                 = LastPasswordFailureDate;
            obj.PasswordFailuresSinceLastSuccess        = PasswordFailuresSinceLastSuccess;
            obj.Password                                = Password;
            obj.PasswordChangedDate                     = PasswordChangedDate;
            obj.PasswordSalt                            = PasswordSalt;
            obj.PasswordVerificationToken               = PasswordVerificationToken;
            obj.PasswordVerificationTokenExpirationDate = PasswordVerificationTokenExpirationDate;
            return(obj);
        }
 public virtual object Clone()
 {
     MemberShip obj = new MemberShip();
     obj.UserID = UserID;
     obj.CreateDate = CreateDate;
     obj.ConfirmationToken = ConfirmationToken;
     obj.IsConfirmed = IsConfirmed;
     obj.LastPasswordFailureDate = LastPasswordFailureDate;
     obj.PasswordFailuresSinceLastSuccess = PasswordFailuresSinceLastSuccess;
     obj.Password = Password;
     obj.PasswordChangedDate = PasswordChangedDate;
     obj.PasswordSalt = PasswordSalt;
     obj.PasswordVerificationToken = PasswordVerificationToken;
     obj.PasswordVerificationTokenExpirationDate = PasswordVerificationTokenExpirationDate;
     return obj;
 }
 /// <summary>
 /// There are no comments for OnMemberShipChanging in the schema.
 /// </summary>
 partial void OnMemberShipChanging(MemberShip value);
Exemplo n.º 5
0
 /// <summary>
 /// There are no comments for OnMemberShipChanging in the schema.
 /// </summary>
 partial void OnMemberShipChanging(MemberShip value);