コード例 #1
0
ファイル: Context.cs プロジェクト: sunilbulusu/DealerSoftware
 /// <summary>
 /// Deprecated Method for adding a new object to the MenuType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMenuType(MenuType menuType)
 {
     base.AddObject("MenuType", menuType);
 }
コード例 #2
0
 /// <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;
 }