/// <summary>
 /// Create a new Menu object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="displayText">Initial value of the DisplayText property.</param>
 /// <param name="sortOrder">Initial value of the SortOrder property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 public static Menu CreateMenu(global::System.Int32 id, global::System.String description, global::System.String displayText, global::System.Int16 sortOrder, global::System.DateTime dateCreated, global::System.Boolean active)
 {
     Menu menu = new Menu();
     menu.Id = id;
     menu.Description = description;
     menu.DisplayText = displayText;
     menu.SortOrder = sortOrder;
     menu.DateCreated = dateCreated;
     menu.Active = active;
     return menu;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Menu EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMenu(Menu menu)
 {
     base.AddObject("Menu", menu);
 }