コード例 #1
0
        public void MergeSettingsAll()
        {
            try
            {
                CallContext resultContext = new CallContext();

                PermittedActionBL permittedActionBL = new PermittedActionBL();
                resultContext.securitySettings = ETEMEnums.SecuritySettings.PermittedActionMergeSettings;
                permittedActionBL.MergeSettings(resultContext);

                SettingBL SettingBL = new SettingBL();
                resultContext.securitySettings = ETEMEnums.SecuritySettings.SettingMergeSettings;
                SettingBL.MergeSettings(resultContext);
            }

            catch (ETEMModelException e)
            {
                BaseHelper.Log(e.Message);
            }
        }
コード例 #2
0
        public void MergeSettingsAll()
        {
            try
            {

                CallContext resultContext = new CallContext();

                PermittedActionBL permittedActionBL = new PermittedActionBL();
                resultContext.securitySettings = ETEMEnums.SecuritySettings.PermittedActionMergeSettings;
                permittedActionBL.MergeSettings(resultContext);

                SettingBL SettingBL = new SettingBL();
                resultContext.securitySettings = ETEMEnums.SecuritySettings.SettingMergeSettings;
                SettingBL.MergeSettings(resultContext);
            }

            catch (ETEMModelException e)
            {
                BaseHelper.Log(e.Message);
            }

        }