コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EmailSendLogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmailSendLogs(EmailSendLog emailSendLog)
 {
     base.AddObject("EmailSendLogs", emailSendLog);
 }
コード例 #2
0
 /// <summary>
 /// Create a new EmailSendLog object.
 /// </summary>
 /// <param name="guid">Initial value of the Guid property.</param>
 /// <param name="siteGuid">Initial value of the SiteGuid property.</param>
 /// <param name="moduleGuid">Initial value of the ModuleGuid property.</param>
 /// <param name="specialGuid1">Initial value of the SpecialGuid1 property.</param>
 /// <param name="specialGuid2">Initial value of the SpecialGuid2 property.</param>
 /// <param name="toAddress">Initial value of the ToAddress property.</param>
 /// <param name="subject">Initial value of the Subject property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="sentUtc">Initial value of the SentUtc property.</param>
 public static EmailSendLog CreateEmailSendLog(global::System.Guid guid, global::System.Guid siteGuid, global::System.Guid moduleGuid, global::System.Guid specialGuid1, global::System.Guid specialGuid2, global::System.String toAddress, global::System.String subject, global::System.String type, global::System.DateTime sentUtc)
 {
     EmailSendLog emailSendLog = new EmailSendLog();
     emailSendLog.Guid = guid;
     emailSendLog.SiteGuid = siteGuid;
     emailSendLog.ModuleGuid = moduleGuid;
     emailSendLog.SpecialGuid1 = specialGuid1;
     emailSendLog.SpecialGuid2 = specialGuid2;
     emailSendLog.ToAddress = toAddress;
     emailSendLog.Subject = subject;
     emailSendLog.Type = type;
     emailSendLog.SentUtc = sentUtc;
     return emailSendLog;
 }