/// <summary> /// Deprecated Method for adding a new object to the MenuGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMenuGroups(MenuGroup menuGroup) { base.AddObject("MenuGroups", menuGroup); }
/// <summary> /// Create a new MenuGroup object. /// </summary> /// <param name="menuItemID">Initial value of the MenuItemID property.</param> /// <param name="reportGroupID">Initial value of the ReportGroupID property.</param> public static MenuGroup CreateMenuGroup(global::System.Int32 menuItemID, global::System.Int32 reportGroupID) { MenuGroup menuGroup = new MenuGroup(); menuGroup.MenuItemID = menuItemID; menuGroup.ReportGroupID = reportGroupID; return menuGroup; }