/// <summary> /// CopyValue 方法 /// </summary> public virtual void CopyValue(SystemUserBase obj) { obj.UserLoginID = this._user_loginid; obj.UserName = this._user_name; obj.UserEmail = this._user_email; obj.UserPassword = this._user_password; obj.UserStatus = this._user_status; obj.UserCreateDate = this._user_create_date; obj.UserType = this._user_type; obj.DepartmentID = this._department_id; }
/// <summary> /// local implementation of Equals based on unique value members /// </summary> public override bool Equals(object obj) { if (this == obj) { return(true); } if ((obj == null) || (obj.GetType() != this.GetType())) { return(false); } SystemUserBase castObj = (SystemUserBase)obj; return((castObj != null) && (this._user_id == castObj.UserID)); }