/// <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); } SystemUserGroupUserRelationBase castObj = (SystemUserGroupUserRelationBase)obj; return((castObj != null) && (this._usergroupuserid == castObj.UserGroupUserID)); }
/// <summary> /// CopyValue 方法 /// </summary> public virtual void CopyValue(SystemUserGroupUserRelationBase obj) { obj.UserID = this._userid; obj.UserGroupID = this._usergroupid; }