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