Beispiel #1
0
        public override bool Equals(Object p_other)
        {
            bool l_bRetVal = false;

            if (p_other == null)
            {
                l_bRetVal = false;
            }
            else if (this == p_other)
            {
                l_bRetVal = true;
            }
            else
            {
                CommissionReport l_theOther = (CommissionReport)p_other;
                l_bRetVal = ExecId.Equals(l_theOther.ExecId);
            }
            return(l_bRetVal);
        }
Beispiel #2
0
        public override bool Equals(object pOther)
        {
            var retVal = false;

            if (pOther == null)
            {
                retVal = false;
            }
            else if (this == pOther)
            {
                retVal = true;
            }
            else
            {
                var other = (CommissionReport)pOther;
                retVal = ExecId.Equals(other.ExecId);
            }

            return(retVal);
        }
 public override int GetHashCode()
 {
     return(ExecId != null ? ExecId.GetHashCode() : 0);
 }