/// <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); } SystemUserGroupRoleRelationBase castObj = (SystemUserGroupRoleRelationBase)obj; return((castObj != null) && (this._usergrouprole_id == castObj.UserGroupRoleID)); }
/// <summary> /// CopyValue 方法 /// </summary> public virtual void CopyValue(SystemUserGroupRoleRelationBase obj) { obj.RoleID = this._role_id; obj.UserGroupID = this._usergroup_id; }