/// <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);
            }
            SystemOperationBase castObj = (SystemOperationBase)obj;

            return((castObj != null) &&
                   (this._operation_id == castObj.OperationID));
        }
 /// <summary>
 /// CopyValue 方法
 /// </summary>
 public virtual void CopyValue(SystemOperationBase obj)
 {
     obj.OperationNameCn      = this._operation_namecn;
     obj.OperationNameEn      = this._operation_nameen;
     obj.OperationDescription = this._operation_description;
 }
Esempio n. 3
0
 /// <summary>
 /// CopyValue 方法
 /// </summary>
 public virtual void CopyValue( SystemOperationBase obj )
 {
     obj.OperationNameCn = this._operation_namecn;
     obj.OperationNameEn = this._operation_nameen;
     obj.OperationDescription = this._operation_description;
 }