public virtual void AddIdentification(CompanyIdentification companyIdentification) { Contract.Ensures(Identifications.Contains(companyIdentification)); if (companyIdentification != null && m_Identifications.Add(companyIdentification)) { companyIdentification.Company = this; } }
public virtual void RemoveIdentification(CompanyIdentification companyIdentification) { Contract.Ensures(!Identifications.Contains(companyIdentification)); if (companyIdentification != null && m_Identifications.Remove(companyIdentification)) { companyIdentification.Company = null; } }