/// <summary>
 /// Deprecated Method for adding a new object to the FoodEntries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFoodEntries(FoodEntry foodEntry)
 {
     base.AddObject("FoodEntries", foodEntry);
 }
 /// <summary>
 /// Create a new FoodEntry object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="entryDate">Initial value of the EntryDate property.</param>
 /// <param name="savedDate">Initial value of the SavedDate property.</param>
 /// <param name="mealType">Initial value of the MealType property.</param>
 public static FoodEntry CreateFoodEntry(global::System.Int32 id, global::System.Guid userId, global::System.String title, global::System.DateTime entryDate, global::System.DateTime savedDate, global::System.Int32 mealType)
 {
     FoodEntry foodEntry = new FoodEntry();
     foodEntry.Id = id;
     foodEntry.UserId = userId;
     foodEntry.Title = title;
     foodEntry.EntryDate = entryDate;
     foodEntry.SavedDate = savedDate;
     foodEntry.MealType = mealType;
     return foodEntry;
 }