/// <summary>
 /// Create a new Allergy object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="user_Id">Initial value of the User_Id property.</param>
 /// <param name="ingredient_Id">Initial value of the Ingredient_Id property.</param>
 public static Allergy CreateAllergy(global::System.Int32 id, global::System.Int32 user_Id, global::System.Int32 ingredient_Id)
 {
     Allergy allergy = new Allergy();
     allergy.Id = id;
     allergy.User_Id = user_Id;
     allergy.Ingredient_Id = ingredient_Id;
     return allergy;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Allergies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAllergies(Allergy allergy)
 {
     base.AddObject("Allergies", allergy);
 }