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


            if (L_TradingExperience2 != null)
            {
                if (!L_TradingExperience2.AssetManagers2.Contains(this))
                {
                    L_TradingExperience2.AssetManagers2.Add(this);
                }

                if (FK_TradingSecurityExperienceID != L_TradingExperience2.PK_ExperienceID)

                {
                    FK_TradingSecurityExperienceID = L_TradingExperience2.PK_ExperienceID;
                }
            }

            else if (!_settingFK)

            {
                FK_TradingSecurityExperienceID = null;
            }
        }
コード例 #2
0
        private void FixupL_TradingExperience(L_TradingExperience previousValue)
        {
            if (previousValue != null && previousValue.AssetManagers.Contains(this))
            {
                previousValue.AssetManagers.Remove(this);
            }


            if (L_TradingExperience != null)
            {
                if (!L_TradingExperience.AssetManagers.Contains(this))
                {
                    L_TradingExperience.AssetManagers.Add(this);
                }

                if (FK_TradingForeignExchangeExperienceID != L_TradingExperience.PK_ExperienceID)

                {
                    FK_TradingForeignExchangeExperienceID = L_TradingExperience.PK_ExperienceID;
                }
            }

            else if (!_settingFK)

            {
                FK_TradingForeignExchangeExperienceID = null;
            }
        }
コード例 #3
0
        private void FixupL_TradingExperience1(L_TradingExperience previousValue)
        {
            if (previousValue != null && previousValue.AssetManagers1.Contains(this))
            {
                previousValue.AssetManagers1.Remove(this);
            }


            if (L_TradingExperience1 != null)
            {
                if (!L_TradingExperience1.AssetManagers1.Contains(this))
                {
                    L_TradingExperience1.AssetManagers1.Add(this);
                }

                if (FK_TradingOptionExperienceID != L_TradingExperience1.PK_ExperienceID)

                {
                    FK_TradingOptionExperienceID = L_TradingExperience1.PK_ExperienceID;
                }
            }

            else if (!_settingFK)

            {
                FK_TradingOptionExperienceID = null;
            }
        }
コード例 #4
0
        private void FixupL_TradingExperience(L_TradingExperience previousValue)
        {
            if (previousValue != null && previousValue.DemoLeads.Contains(this))
            {
                previousValue.DemoLeads.Remove(this);
            }


            if (L_TradingExperience != null)
            {
                if (!L_TradingExperience.DemoLeads.Contains(this))
                {
                    L_TradingExperience.DemoLeads.Add(this);
                }

                if (FK_ExperienceID != L_TradingExperience.PK_ExperienceID)

                {
                    FK_ExperienceID = L_TradingExperience.PK_ExperienceID;
                }
            }

            else if (!_settingFK)

            {
                FK_ExperienceID = null;
            }
        }