/// <summary>
 /// Deprecated Method for adding a new object to the MenuBar EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMenuBar(MenuBar menuBar)
 {
     base.AddObject("MenuBar", menuBar);
 }
 /// <summary>
 /// Create a new MenuBar object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="userTypeID">Initial value of the UserTypeID property.</param>
 public static MenuBar CreateMenuBar(global::System.Guid id, global::System.String name, global::System.Guid userTypeID)
 {
     MenuBar menuBar = new MenuBar();
     menuBar.ID = id;
     menuBar.Name = name;
     menuBar.UserTypeID = userTypeID;
     return menuBar;
 }