Example #1
0
 /// <summary>
 /// 用于向 V_ShopDisheWithCategory EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToV_ShopDisheWithCategory(V_ShopDisheWithCategory v_ShopDisheWithCategory)
 {
     base.AddObject("V_ShopDisheWithCategory", v_ShopDisheWithCategory);
 }
Example #2
0
 /// <summary>
 /// 创建新的 V_ShopDisheWithCategory 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="shopId">ShopId 属性的初始值。</param>
 /// <param name="name">Name 属性的初始值。</param>
 /// <param name="price">Price 属性的初始值。</param>
 /// <param name="categoryId">CategoryId 属性的初始值。</param>
 /// <param name="disheCategoryOrder">DisheCategoryOrder 属性的初始值。</param>
 /// <param name="disheOrder">DisheOrder 属性的初始值。</param>
 public static V_ShopDisheWithCategory CreateV_ShopDisheWithCategory(global::System.Int32 id, global::System.Int32 shopId, global::System.String name, global::System.Double price, global::System.Int32 categoryId, global::System.Int16 disheCategoryOrder, global::System.Int16 disheOrder)
 {
     V_ShopDisheWithCategory v_ShopDisheWithCategory = new V_ShopDisheWithCategory();
     v_ShopDisheWithCategory.Id = id;
     v_ShopDisheWithCategory.ShopId = shopId;
     v_ShopDisheWithCategory.Name = name;
     v_ShopDisheWithCategory.Price = price;
     v_ShopDisheWithCategory.CategoryId = categoryId;
     v_ShopDisheWithCategory.DisheCategoryOrder = disheCategoryOrder;
     v_ShopDisheWithCategory.DisheOrder = disheOrder;
     return v_ShopDisheWithCategory;
 }