Пример #1
0
 /// <summary>
 /// Create a new tmdlreasoncategory object.
 /// </summary>
 /// <param name="reasoncategory">Initial value of the reasoncategory property.</param>
 /// <param name="reasoncategorydesc">Initial value of the reasoncategorydesc property.</param>
 /// <param name="lastmodifieduser">Initial value of the lastmodifieduser property.</param>
 /// <param name="lastmodifiedtime">Initial value of the lastmodifiedtime property.</param>
 public static tmdlreasoncategory Createtmdlreasoncategory(global::System.String reasoncategory, global::System.String reasoncategorydesc, global::System.String lastmodifieduser, global::System.DateTime lastmodifiedtime)
 {
     tmdlreasoncategory tmdlreasoncategory = new tmdlreasoncategory();
     tmdlreasoncategory.reasoncategory = reasoncategory;
     tmdlreasoncategory.reasoncategorydesc = reasoncategorydesc;
     tmdlreasoncategory.lastmodifieduser = lastmodifieduser;
     tmdlreasoncategory.lastmodifiedtime = lastmodifiedtime;
     return tmdlreasoncategory;
 }
Пример #2
0
 public void DoUpdateReasonCategory(ContextInfo contextInfo, tmdlreasoncategory reasoncategory)
 {
     contextInfo.Action = MES_ActionType.Update;
     ReasonCategoryBll bll = new ReasonCategoryBll(contextInfo);
     bll.CallAccessControl();
     bll.DoUpdate(reasoncategory);
     GC.Collect();
 }
Пример #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tmdlreasoncategory EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotmdlreasoncategory(tmdlreasoncategory tmdlreasoncategory)
 {
     base.AddObject("tmdlreasoncategory", tmdlreasoncategory);
 }