예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tsyssystemconfig EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotsyssystemconfig(tsyssystemconfig tsyssystemconfig)
 {
     base.AddObject("tsyssystemconfig", tsyssystemconfig);
 }
예제 #2
0
 /// <summary>
 /// Create a new tsyssystemconfig object.
 /// </summary>
 /// <param name="configname">Initial value of the configname property.</param>
 public static tsyssystemconfig Createtsyssystemconfig(global::System.String configname)
 {
     tsyssystemconfig tsyssystemconfig = new tsyssystemconfig();
     tsyssystemconfig.configname = configname;
     return tsyssystemconfig;
 }
예제 #3
0
        public void DoUpdateSystemConfig(ContextInfo contextInfo, tsyssystemconfig systemConfig)
        {
            contextInfo.Action = MES_ActionType.Update;
            SystemConfigBll bll = new SystemConfigBll(contextInfo);
            bll.CallAccessControl();
            bll.DoUpdate(systemConfig);

            Parameter.CURRENT_SYSTEM_CONFIG = null;

            GC.Collect();
        }