/// <summary>
 /// Create a new Menu object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Menu CreateMenu(global::System.Int32 id, global::System.String name, global::System.Byte[] rowVersion)
 {
     Menu menu = new Menu();
     menu.Id = id;
     menu.Name = name;
     menu.RowVersion = rowVersion;
     return menu;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Menus EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMenus(Menu menu)
 {
     base.AddObject("Menus", menu);
 }