private void Fixuptbt_QuotationBasic(tbt_QuotationBasic previousValue) { if (previousValue != null && ReferenceEquals(previousValue.tbt_QuotationBeatGuardDetails, this)) { previousValue.tbt_QuotationBeatGuardDetails = null; } if (tbt_QuotationBasic != null) { tbt_QuotationBasic.tbt_QuotationBeatGuardDetails = this; if (QuotationTargetCode != tbt_QuotationBasic.QuotationTargetCode) { QuotationTargetCode = tbt_QuotationBasic.QuotationTargetCode; } if (Alphabet != tbt_QuotationBasic.Alphabet) { Alphabet = tbt_QuotationBasic.Alphabet; } } }
private void Fixuptbt_QuotationBasic(tbt_QuotationBasic previousValue) { if (previousValue != null && previousValue.tbt_QuotationMaintenanceLinkage.Contains(this)) { previousValue.tbt_QuotationMaintenanceLinkage.Remove(this); } if (tbt_QuotationBasic != null) { if (!tbt_QuotationBasic.tbt_QuotationMaintenanceLinkage.Contains(this)) { tbt_QuotationBasic.tbt_QuotationMaintenanceLinkage.Add(this); } if (QuotationTargetCode != tbt_QuotationBasic.QuotationTargetCode) { QuotationTargetCode = tbt_QuotationBasic.QuotationTargetCode; } if (Alphabet != tbt_QuotationBasic.Alphabet) { Alphabet = tbt_QuotationBasic.Alphabet; } } }
private void Fixuptbt_QuotationBasic(tbt_QuotationBasic previousValue) { if (previousValue != null && previousValue.tbt_QuotationInstrumentDetails.Contains(this)) { previousValue.tbt_QuotationInstrumentDetails.Remove(this); } if (tbt_QuotationBasic != null) { if (!tbt_QuotationBasic.tbt_QuotationInstrumentDetails.Contains(this)) { tbt_QuotationBasic.tbt_QuotationInstrumentDetails.Add(this); } if (QuotationTargetCode != tbt_QuotationBasic.QuotationTargetCode) { QuotationTargetCode = tbt_QuotationBasic.QuotationTargetCode; } if (Alphabet != tbt_QuotationBasic.Alphabet) { Alphabet = tbt_QuotationBasic.Alphabet; } } }