/// <summary> /// Deprecated Method for adding a new object to the FullfillDownloadTickets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFullfillDownloadTickets(FullfillDownloadTicket fullfillDownloadTicket) { base.AddObject("FullfillDownloadTickets", fullfillDownloadTicket); }
/// <summary> /// Create a new FullfillDownloadTicket object. /// </summary> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="storeGuid">Initial value of the StoreGuid property.</param> /// <param name="orderGuid">Initial value of the OrderGuid property.</param> /// <param name="userGuid">Initial value of the UserGuid property.</param> /// <param name="productGuid">Initial value of the ProductGuid property.</param> /// <param name="fullfillTermsGuid">Initial value of the FullfillTermsGuid property.</param> /// <param name="downloadsAllowed">Initial value of the DownloadsAllowed property.</param> /// <param name="expireAfterDays">Initial value of the ExpireAfterDays property.</param> /// <param name="countAfterDownload">Initial value of the CountAfterDownload property.</param> /// <param name="purchaseTime">Initial value of the PurchaseTime property.</param> /// <param name="downloadedCount">Initial value of the DownloadedCount property.</param> public static FullfillDownloadTicket CreateFullfillDownloadTicket(global::System.Guid guid, global::System.Guid storeGuid, global::System.Guid orderGuid, global::System.Guid userGuid, global::System.Guid productGuid, global::System.Guid fullfillTermsGuid, global::System.Int32 downloadsAllowed, global::System.Int32 expireAfterDays, global::System.Boolean countAfterDownload, global::System.DateTime purchaseTime, global::System.Int32 downloadedCount) { FullfillDownloadTicket fullfillDownloadTicket = new FullfillDownloadTicket(); fullfillDownloadTicket.Guid = guid; fullfillDownloadTicket.StoreGuid = storeGuid; fullfillDownloadTicket.OrderGuid = orderGuid; fullfillDownloadTicket.UserGuid = userGuid; fullfillDownloadTicket.ProductGuid = productGuid; fullfillDownloadTicket.FullfillTermsGuid = fullfillTermsGuid; fullfillDownloadTicket.DownloadsAllowed = downloadsAllowed; fullfillDownloadTicket.ExpireAfterDays = expireAfterDays; fullfillDownloadTicket.CountAfterDownload = countAfterDownload; fullfillDownloadTicket.PurchaseTime = purchaseTime; fullfillDownloadTicket.DownloadedCount = downloadedCount; return fullfillDownloadTicket; }