/// <summary> /// Deprecated Method for adding a new object to the tblMeal EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblMeal(tblMeal tblMeal) { base.AddObject("tblMeal", tblMeal); }
/// <summary> /// Create a new tblMeal object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="endDate">Initial value of the EndDate property.</param> public static tblMeal CreatetblMeal(global::System.Int32 id, global::System.DateTime endDate) { tblMeal tblMeal = new tblMeal(); tblMeal.Id = id; tblMeal.EndDate = endDate; return tblMeal; }