/// <summary> /// Create a new Dishes object. /// </summary> /// <param name="dishID">Initial value of the DishID property.</param> /// <param name="dishName">Initial value of the DishName property.</param> /// <param name="discontinued">Initial value of the Discontinued property.</param> public static Dishes CreateDishes(global::System.Int32 dishID, global::System.String dishName, global::System.Boolean discontinued) { Dishes dishes = new Dishes(); dishes.DishID = dishID; dishes.DishName = dishName; dishes.Discontinued = discontinued; return dishes; }
/// <summary> /// Deprecated Method for adding a new object to the Dishes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDishes(Dishes dishes) { base.AddObject("Dishes", dishes); }