/// <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); } SystemUserRoleRelationBase castObj = (SystemUserRoleRelationBase)obj; return((castObj != null) && (this._userrole_id == castObj.UserRoleID)); }
/// <summary> /// CopyValue 方法 /// </summary> public virtual void CopyValue(SystemUserRoleRelationBase obj) { obj.UserID = this._user_id; obj.RoleID = this._role_id; }