/// <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); } SystemUserGroupBase castObj = (SystemUserGroupBase)obj; return((castObj != null) && (this._group_id == castObj.GroupID)); }
/// <summary> /// CopyValue 方法 /// </summary> public virtual void CopyValue(SystemUserGroupBase obj) { obj.GroupNameCn = this._group_namecn; obj.GroupNameEn = this._group_nameen; obj.GroupDescription = this._group_description; }