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); }
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); }