/// <summary>
 /// Deprecated Method for adding a new object to the PetRates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPetRates(PetRate petRate)
 {
     base.AddObject("PetRates", petRate);
 }
 /// <summary>
 /// Create a new PetRate object.
 /// </summary>
 /// <param name="petId">Initial value of the PetId property.</param>
 /// <param name="rateCategoryId">Initial value of the RateCategoryId property.</param>
 /// <param name="rate1Star">Initial value of the Rate1Star property.</param>
 /// <param name="rate2Stars">Initial value of the Rate2Stars property.</param>
 /// <param name="rate3Stars">Initial value of the Rate3Stars property.</param>
 /// <param name="rate4Stars">Initial value of the Rate4Stars property.</param>
 /// <param name="rate5Stars">Initial value of the Rate5Stars property.</param>
 /// <param name="rating">Initial value of the Rating property.</param>
 /// <param name="lastRateDate">Initial value of the LastRateDate property.</param>
 /// <param name="petRateId">Initial value of the PetRateId property.</param>
 public static PetRate CreatePetRate(global::System.Guid petId, global::System.Int16 rateCategoryId, global::System.Int16 rate1Star, global::System.Int16 rate2Stars, global::System.Int16 rate3Stars, global::System.Int16 rate4Stars, global::System.Int16 rate5Stars, global::System.Double rating, global::System.DateTime lastRateDate, global::System.Int32 petRateId)
 {
     PetRate petRate = new PetRate();
     petRate.PetId = petId;
     petRate.RateCategoryId = rateCategoryId;
     petRate.Rate1Star = rate1Star;
     petRate.Rate2Stars = rate2Stars;
     petRate.Rate3Stars = rate3Stars;
     petRate.Rate4Stars = rate4Stars;
     petRate.Rate5Stars = rate5Stars;
     petRate.Rating = rating;
     petRate.LastRateDate = lastRateDate;
     petRate.PetRateId = petRateId;
     return petRate;
 }