/// <summary> /// Create a new SentEmailTransaction object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="sentEmailCount">Initial value of the SentEmailCount property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="campaignSendId">Initial value of the CampaignSendId property.</param> /// <param name="uploaded">Initial value of the Uploaded property.</param> /// <param name="creditCardId">Initial value of the CreditCardId property.</param> public static SentEmailTransaction CreateSentEmailTransaction(global::System.Guid id, global::System.Int64 sentEmailCount, global::System.DateTime created, global::System.Int64 campaignSendId, global::System.DateTime uploaded, global::System.Int32 creditCardId) { SentEmailTransaction sentEmailTransaction = new SentEmailTransaction(); sentEmailTransaction.Id = id; sentEmailTransaction.SentEmailCount = sentEmailCount; sentEmailTransaction.Created = created; sentEmailTransaction.CampaignSendId = campaignSendId; sentEmailTransaction.Uploaded = uploaded; sentEmailTransaction.CreditCardId = creditCardId; return sentEmailTransaction; }
/// <summary> /// Deprecated Method for adding a new object to the SentEmailTransactions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSentEmailTransactions(SentEmailTransaction sentEmailTransaction) { base.AddObject("SentEmailTransactions", sentEmailTransaction); }