/// <summary> /// Deprecated Method for adding a new object to the MenuType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMenuType(MenuType menuType) { base.AddObject("MenuType", menuType); }
/// <summary> /// Create a new MenuType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="menuPatternId">Initial value of the MenuPatternId property.</param> public static MenuType CreateMenuType(global::System.Int32 id, global::System.String description, global::System.Int32 menuPatternId) { MenuType menuType = new MenuType(); menuType.Id = id; menuType.Description = description; menuType.MenuPatternId = menuPatternId; return menuType; }