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