コード例 #1
0
ファイル: Context.cs プロジェクト: sunilbulusu/DealerSoftware
 /// <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);
 }
コード例 #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;
 }