/// <summary>
 /// Deprecated Method for adding a new object to the MenuItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMenuItems(MenuItem menuItem)
 {
     base.AddObject("MenuItems", menuItem);
 }
 /// <summary>
 /// Create a new MenuItem object.
 /// </summary>
 /// <param name="menuItemID">Initial value of the MenuItemID property.</param>
 /// <param name="item">Initial value of the Item property.</param>
 public static MenuItem CreateMenuItem(global::System.Int32 menuItemID, global::System.String item)
 {
     MenuItem menuItem = new MenuItem();
     menuItem.MenuItemID = menuItemID;
     menuItem.Item = item;
     return menuItem;
 }