Exemplo n.º 1
0
 public Param(ParamPK _id
              , string _paramname
              )
 {
     this._id        = _id;
     this._paramname = _paramname;
 }
Exemplo n.º 2
0
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }
            ParamPK that = (ParamPK)obj;

            if (that == null)
            {
                return(false);
            }
            else
            {
                if (this._paramid != that._paramid)
                {
                    return(false);
                }
                if (this._paramcode != that._paramcode)
                {
                    return(false);
                }
                return(true);
            }
        }