/// <summary> /// Create a new food_category object. /// </summary> /// <param name="food_category_id">Initial value of the food_category_id property.</param> /// <param name="name">Initial value of the name property.</param> public static food_category Createfood_category(global::System.Int32 food_category_id, global::System.String name) { food_category food_category = new food_category(); food_category.food_category_id = food_category_id; food_category.name = name; return food_category; }
/// <summary> /// Deprecated Method for adding a new object to the food_category EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTofood_category(food_category food_category) { base.AddObject("food_category", food_category); }