/// <summary> /// Deprecated Method for adding a new object to the FullfillDownloadTerms EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFullfillDownloadTerms(FullfillDownloadTerms fullfillDownloadTerms) { base.AddObject("FullfillDownloadTerms", fullfillDownloadTerms); }
/// <summary> /// Create a new FullfillDownloadTerms object. /// </summary> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="storeGuid">Initial value of the StoreGuid 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="created">Initial value of the Created property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> public static FullfillDownloadTerms CreateFullfillDownloadTerms(global::System.Guid guid, global::System.Guid storeGuid, global::System.Int32 downloadsAllowed, global::System.Int32 expireAfterDays, global::System.Boolean countAfterDownload, global::System.DateTime created, global::System.Guid createdBy) { FullfillDownloadTerms fullfillDownloadTerms = new FullfillDownloadTerms(); fullfillDownloadTerms.Guid = guid; fullfillDownloadTerms.StoreGuid = storeGuid; fullfillDownloadTerms.DownloadsAllowed = downloadsAllowed; fullfillDownloadTerms.ExpireAfterDays = expireAfterDays; fullfillDownloadTerms.CountAfterDownload = countAfterDownload; fullfillDownloadTerms.Created = created; fullfillDownloadTerms.CreatedBy = createdBy; return fullfillDownloadTerms; }