示例#1
0
        /// <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));
        }
示例#2
0
 /// <summary>
 /// CopyValue 方法
 /// </summary>
 public virtual void CopyValue(SystemUserGroupUserRelationBase obj)
 {
     obj.UserID      = this._userid;
     obj.UserGroupID = this._usergroupid;
 }