/// <summary>
 /// Create a new TreeMenu object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static TreeMenu CreateTreeMenu(global::System.Int64 id)
 {
     TreeMenu treeMenu = new TreeMenu();
     treeMenu.Id = id;
     return treeMenu;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the TreeMenus EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTreeMenus(TreeMenu treeMenu)
 {
     base.AddObject("TreeMenus", treeMenu);
 }