/// <summary>
 /// Deprecated Method for adding a new object to the Purchases EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPurchases(Purchase purchase)
 {
     base.AddObject("Purchases", purchase);
 }
 /// <summary>
 /// Create a new Purchase object.
 /// </summary>
 /// <param name="profileId">Initial value of the ProfileId property.</param>
 /// <param name="albumId">Initial value of the AlbumId property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="purchasedDateTime">Initial value of the PurchasedDateTime property.</param>
 public static Purchase CreatePurchase(global::System.Int32 profileId, global::System.Int32 albumId, global::System.Int16 price, global::System.DateTime purchasedDateTime)
 {
     Purchase purchase = new Purchase();
     purchase.ProfileId = profileId;
     purchase.AlbumId = albumId;
     purchase.Price = price;
     purchase.PurchasedDateTime = purchasedDateTime;
     return purchase;
 }