Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MenuPattern EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMenuPattern(MenuPattern menuPattern)
 {
     base.AddObject("MenuPattern", menuPattern);
 }
Example #2
0
 /// <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;
 }