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