Esempio n. 1
0
 /// <summary>
 /// 建立新 tblUserGroupMenu 物件。
 /// </summary>
 /// <param name="groupID">GroupID 屬性的初始值。</param>
 /// <param name="menuID">MenuID 屬性的初始值。</param>
 public static tblUserGroupMenu CreatetblUserGroupMenu(global::System.Int32 groupID, global::System.Int32 menuID)
 {
     tblUserGroupMenu tblUserGroupMenu = new tblUserGroupMenu();
     tblUserGroupMenu.GroupID = groupID;
     tblUserGroupMenu.MenuID = menuID;
     return tblUserGroupMenu;
 }
Esempio n. 2
0
 /// <summary>
 /// 將新物件加入 tblUserGroupMenu EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTotblUserGroupMenu(tblUserGroupMenu tblUserGroupMenu)
 {
     base.AddObject("tblUserGroupMenu", tblUserGroupMenu);
 }