예제 #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);
 }