private void FixupL_Country2(L_Country previousValue) { if (previousValue != null && previousValue.CorporateAccountInformations2.Contains(this)) { previousValue.CorporateAccountInformations2.Remove(this); } if (L_Country2 != null) { if (!L_Country2.CorporateAccountInformations2.Contains(this)) { L_Country2.CorporateAccountInformations2.Add(this); } if (FK_AuthOfficerResidenceCountryID != L_Country2.PK_CountryID) { FK_AuthOfficerResidenceCountryID = L_Country2.PK_CountryID; } } else if (!_settingFK) { FK_AuthOfficerResidenceCountryID = null; } }
private void FixupL_Country8(L_Country previousValue) { if (previousValue != null && previousValue.TrustAccountInformations8.Contains(this)) { previousValue.TrustAccountInformations8.Remove(this); } if (L_Country8 != null) { if (!L_Country8.TrustAccountInformations8.Contains(this)) { L_Country8.TrustAccountInformations8.Add(this); } if (FK_TrusteeIndividualResidentialCountryID != L_Country8.PK_CountryID) { FK_TrusteeIndividualResidentialCountryID = L_Country8.PK_CountryID; } } else if (!_settingFK) { FK_TrusteeIndividualResidentialCountryID = null; } }
private void FixupL_Country(L_Country previousValue) { if (previousValue != null && previousValue.IndividualAccountInformations.Contains(this)) { previousValue.IndividualAccountInformations.Remove(this); } if (L_Country != null) { if (!L_Country.IndividualAccountInformations.Contains(this)) { L_Country.IndividualAccountInformations.Add(this); } if (FK_CitizenShipCountryID != L_Country.PK_CountryID) { FK_CitizenShipCountryID = L_Country.PK_CountryID; } } else if (!_settingFK) { FK_CitizenShipCountryID = null; } }
private void FixupL_Country1(L_Country previousValue) { if (previousValue != null && previousValue.Agents1.Contains(this)) { previousValue.Agents1.Remove(this); } if (L_Country1 != null) { if (!L_Country1.Agents1.Contains(this)) { L_Country1.Agents1.Add(this); } if (FK_CountryID != L_Country1.PK_CountryID) { FK_CountryID = L_Country1.PK_CountryID; } } else if (!_settingFK) { FK_CountryID = null; } }
private void FixupL_Country3(L_Country previousValue) { if (previousValue != null && previousValue.CorporateAccountInformations3.Contains(this)) { previousValue.CorporateAccountInformations3.Remove(this); } if (L_Country3 != null) { if (!L_Country3.CorporateAccountInformations3.Contains(this)) { L_Country3.CorporateAccountInformations3.Add(this); } if (FK_CompanyCountryID != L_Country3.PK_CountryID) { FK_CompanyCountryID = L_Country3.PK_CountryID; } } else if (!_settingFK) { FK_CompanyCountryID = null; } }
private void FixupL_Country4(L_Country previousValue) { if (previousValue != null && previousValue.JointAccountInformations4.Contains(this)) { previousValue.JointAccountInformations4.Remove(this); } if (L_Country4 != null) { if (!L_Country4.JointAccountInformations4.Contains(this)) { L_Country4.JointAccountInformations4.Add(this); } if (FK_SecondaryAccountHolderCitizenshipCountryID != L_Country4.PK_CountryID) { FK_SecondaryAccountHolderCitizenshipCountryID = L_Country4.PK_CountryID; } } else if (!_settingFK) { FK_SecondaryAccountHolderCitizenshipCountryID = null; } }
private void FixupL_Country5(L_Country previousValue) { if (previousValue != null && previousValue.TrustAccountInformations5.Contains(this)) { previousValue.TrustAccountInformations5.Remove(this); } if (L_Country5 != null) { if (!L_Country5.TrustAccountInformations5.Contains(this)) { L_Country5.TrustAccountInformations5.Add(this); } if (FK_TrusteeIndividualCitizenshipID != L_Country5.PK_CountryID) { FK_TrusteeIndividualCitizenshipID = L_Country5.PK_CountryID; } } else if (!_settingFK) { FK_TrusteeIndividualCitizenshipID = null; } }
private void FixupL_Country6(L_Country previousValue) { if (previousValue != null && previousValue.TrustAccountInformations6.Contains(this)) { previousValue.TrustAccountInformations6.Remove(this); } if (L_Country6 != null) { if (!L_Country6.TrustAccountInformations6.Contains(this)) { L_Country6.TrustAccountInformations6.Add(this); } if (FK_TrusteeIndividualPreviousCountryID != L_Country6.PK_CountryID) { FK_TrusteeIndividualPreviousCountryID = L_Country6.PK_CountryID; } } else if (!_settingFK) { FK_TrusteeIndividualPreviousCountryID = null; } }
private void FixupL_Country3(L_Country previousValue) { if (previousValue != null && previousValue.TrustAccountInformations3.Contains(this)) { previousValue.TrustAccountInformations3.Remove(this); } if (L_Country3 != null) { if (!L_Country3.TrustAccountInformations3.Contains(this)) { L_Country3.TrustAccountInformations3.Add(this); } if (FK_TrusteeAuthOfficerResidenceCountryID != L_Country3.PK_CountryID) { FK_TrusteeAuthOfficerResidenceCountryID = L_Country3.PK_CountryID; } } else if (!_settingFK) { FK_TrusteeAuthOfficerResidenceCountryID = null; } }
private void FixupL_Country4(L_Country previousValue) { if (previousValue != null && previousValue.TrustAccountInformations4.Contains(this)) { previousValue.TrustAccountInformations4.Remove(this); } if (L_Country4 != null) { if (!L_Country4.TrustAccountInformations4.Contains(this)) { L_Country4.TrustAccountInformations4.Add(this); } if (FK_TrusteeCountryID != L_Country4.PK_CountryID) { FK_TrusteeCountryID = L_Country4.PK_CountryID; } } else if (!_settingFK) { FK_TrusteeCountryID = null; } }
private void FixupL_Country(L_Country previousValue) { if (previousValue != null && previousValue.AssetManagers.Contains(this)) { previousValue.AssetManagers.Remove(this); } if (L_Country != null) { if (!L_Country.AssetManagers.Contains(this)) { L_Country.AssetManagers.Add(this); } if (FK_CountryID != L_Country.PK_CountryID) { FK_CountryID = L_Country.PK_CountryID; } } else if (!_settingFK) { FK_CountryID = null; } }
private void FixupL_Country1(L_Country previousValue) { if (previousValue != null && previousValue.TrustAccountInformations1.Contains(this)) { previousValue.TrustAccountInformations1.Remove(this); } if (L_Country1 != null) { if (!L_Country1.TrustAccountInformations1.Contains(this)) { L_Country1.TrustAccountInformations1.Add(this); } if (FK_TrusteeAuthOfficerCitizenshipCountryID != L_Country1.PK_CountryID) { FK_TrusteeAuthOfficerCitizenshipCountryID = L_Country1.PK_CountryID; } } else if (!_settingFK) { FK_TrusteeAuthOfficerCitizenshipCountryID = null; } }
private void FixupL_Country5(L_Country previousValue) { if (previousValue != null && previousValue.JointAccountInformations5.Contains(this)) { previousValue.JointAccountInformations5.Remove(this); } if (L_Country5 != null) { if (!L_Country5.JointAccountInformations5.Contains(this)) { L_Country5.JointAccountInformations5.Add(this); } if (FK_SecondaryAccountHolderResidenceCountryID != L_Country5.PK_CountryID) { FK_SecondaryAccountHolderResidenceCountryID = L_Country5.PK_CountryID; } } else if (!_settingFK) { FK_SecondaryAccountHolderResidenceCountryID = null; } }
private void FixupL_Country(L_Country previousValue) { if (previousValue != null && previousValue.LiveLeads.Contains(this)) { previousValue.LiveLeads.Remove(this); } if (L_Country != null) { if (!L_Country.LiveLeads.Contains(this)) { L_Country.LiveLeads.Add(this); } if (FK_ResidenceCountry != L_Country.PK_CountryID) { FK_ResidenceCountry = L_Country.PK_CountryID; } } else if (!_settingFK) { FK_ResidenceCountry = null; } }
private void FixupL_Country(L_Country previousValue) { if (previousValue != null && previousValue.CorporateAccountInformations.Contains(this)) { previousValue.CorporateAccountInformations.Remove(this); } if (L_Country != null) { if (!L_Country.CorporateAccountInformations.Contains(this)) { L_Country.CorporateAccountInformations.Add(this); } if (FK_AuthOfficerCitizenshipCountryID != L_Country.PK_CountryID) { FK_AuthOfficerCitizenshipCountryID = L_Country.PK_CountryID; } } else if (!_settingFK) { FK_AuthOfficerCitizenshipCountryID = null; } }
private void FixupL_Country3(L_Country previousValue) { if (previousValue != null && previousValue.IndividualAccountInformations3.Contains(this)) { previousValue.IndividualAccountInformations3.Remove(this); } if (L_Country3 != null) { if (!L_Country3.IndividualAccountInformations3.Contains(this)) { L_Country3.IndividualAccountInformations3.Add(this); } if (FK_ResidentialAddressCountryID != L_Country3.PK_CountryID) { FK_ResidentialAddressCountryID = L_Country3.PK_CountryID; } } else if (!_settingFK) { FK_ResidentialAddressCountryID = null; } }
private void FixupL_Country2(L_Country previousValue) { if (previousValue != null && previousValue.IndividualAccountInformations2.Contains(this)) { previousValue.IndividualAccountInformations2.Remove(this); } if (L_Country2 != null) { if (!L_Country2.IndividualAccountInformations2.Contains(this)) { L_Country2.IndividualAccountInformations2.Add(this); } if (FK_PreviousAddressCounrtyID != L_Country2.PK_CountryID) { FK_PreviousAddressCounrtyID = L_Country2.PK_CountryID; } } else if (!_settingFK) { FK_PreviousAddressCounrtyID = null; } }
private void FixupL_Country1(L_Country previousValue) { if (previousValue != null && previousValue.IndividualAccountInformations1.Contains(this)) { previousValue.IndividualAccountInformations1.Remove(this); } if (L_Country1 != null) { if (!L_Country1.IndividualAccountInformations1.Contains(this)) { L_Country1.IndividualAccountInformations1.Add(this); } if (FK_ResidenceCountryID != L_Country1.PK_CountryID) { FK_ResidenceCountryID = L_Country1.PK_CountryID; } } }
public void Add(L_Country entity) { Repository.Add(entity); }
public void Delete(L_Country entity) { Repository.Delete(entity); }