public virtual bool Equals(object other, List <object> checked_objects) { if (checked_objects.Contains(this)) { return(true); } checked_objects.Add(this); ClientType casted_other = other as ClientType; if (casted_other == null) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.ClintTypePK, casted_other.ClintTypePK)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.DayDt, casted_other.DayDt)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Buy_CountI, casted_other.Buy_CountI)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Buy_CountN, casted_other.Buy_CountN)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Buy_I_Volume, casted_other.Buy_I_Volume)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Buy_N_Volume, casted_other.Buy_N_Volume)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Sell_CountI, casted_other.Sell_CountI)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Sell_CountN, casted_other.Sell_CountN)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Sell_I_Volume, casted_other.Sell_I_Volume)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Sell_N_Volume, casted_other.Sell_N_Volume)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Pl, casted_other.Pl)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.TVol, casted_other.TVol)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Prev_Buy_CountI, casted_other.Prev_Buy_CountI)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Prev_Buy_CountN, casted_other.Prev_Buy_CountN)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Prev_Buy_I_Volume, casted_other.Prev_Buy_I_Volume)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Prev_Buy_N_Volume, casted_other.Prev_Buy_N_Volume)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Prev_Sell_CountI, casted_other.Prev_Sell_CountI)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Prev_Sell_CountN, casted_other.Prev_Sell_CountN)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Prev_Sell_I_Volume, casted_other.Prev_Sell_I_Volume)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Prev_Sell_N_Volume, casted_other.Prev_Sell_N_Volume)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Prev_Pl, casted_other.Prev_Pl)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.Prev_TVol, casted_other.Prev_TVol)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.heven, casted_other.heven)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.InsCode, casted_other.InsCode)) { checked_objects.Remove(this); return(false); } if (!Typing.IsEquals(this.VisitCount, casted_other.VisitCount)) { checked_objects.Remove(this); return(false); } checked_objects.Remove(this); return(true); }