コード例 #1
0
        private void FixupL_IDInformationType1(L_IDInformationType previousValue)
        {
            if (previousValue != null && previousValue.TrustAccountInformations1.Contains(this))
            {
                previousValue.TrustAccountInformations1.Remove(this);
            }


            if (L_IDInformationType1 != null)
            {
                if (!L_IDInformationType1.TrustAccountInformations1.Contains(this))
                {
                    L_IDInformationType1.TrustAccountInformations1.Add(this);
                }

                if (FK_TrusteeIndividualIDTypeId != L_IDInformationType1.PK_IDTypeID)

                {
                    FK_TrusteeIndividualIDTypeId = L_IDInformationType1.PK_IDTypeID;
                }
            }

            else if (!_settingFK)

            {
                FK_TrusteeIndividualIDTypeId = null;
            }
        }
コード例 #2
0
        private void FixupL_IDInformationType(L_IDInformationType previousValue)
        {
            if (previousValue != null && previousValue.IndividualAccountInformations.Contains(this))
            {
                previousValue.IndividualAccountInformations.Remove(this);
            }


            if (L_IDInformationType != null)
            {
                if (!L_IDInformationType.IndividualAccountInformations.Contains(this))
                {
                    L_IDInformationType.IndividualAccountInformations.Add(this);
                }

                if (FK_IDInformationID != L_IDInformationType.PK_IDTypeID)

                {
                    FK_IDInformationID = L_IDInformationType.PK_IDTypeID;
                }
            }

            else if (!_settingFK)

            {
                FK_IDInformationID = null;
            }
        }
コード例 #3
0
        private void FixupL_IDInformationType(L_IDInformationType previousValue)
        {
            if (previousValue != null && previousValue.TrustAccountInformations.Contains(this))
            {
                previousValue.TrustAccountInformations.Remove(this);
            }


            if (L_IDInformationType != null)
            {
                if (!L_IDInformationType.TrustAccountInformations.Contains(this))
                {
                    L_IDInformationType.TrustAccountInformations.Add(this);
                }

                if (FK_TrusteeAuthOfficerIDType != L_IDInformationType.PK_IDTypeID)

                {
                    FK_TrusteeAuthOfficerIDType = L_IDInformationType.PK_IDTypeID;
                }
            }

            else if (!_settingFK)

            {
                FK_TrusteeAuthOfficerIDType = null;
            }
        }
コード例 #4
0
        private void FixupL_IDInformationType1(L_IDInformationType previousValue)
        {
            if (previousValue != null && previousValue.JointAccountInformations1.Contains(this))
            {
                previousValue.JointAccountInformations1.Remove(this);
            }


            if (L_IDInformationType1 != null)
            {
                if (!L_IDInformationType1.JointAccountInformations1.Contains(this))
                {
                    L_IDInformationType1.JointAccountInformations1.Add(this);
                }

                if (FK_SecondaryAccountHolderIDTypeID != L_IDInformationType1.PK_IDTypeID)

                {
                    FK_SecondaryAccountHolderIDTypeID = L_IDInformationType1.PK_IDTypeID;
                }
            }

            else if (!_settingFK)

            {
                FK_SecondaryAccountHolderIDTypeID = null;
            }
        }