/// <summary> /// Deprecated Method for adding a new object to the EmailSendQueues EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmailSendQueues(EmailSendQueue emailSendQueue) { base.AddObject("EmailSendQueues", emailSendQueue); }
/// <summary> /// Create a new EmailSendQueue 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="userGuid">Initial value of the UserGuid property.</param> /// <param name="specialGuid1">Initial value of the SpecialGuid1 property.</param> /// <param name="specialGuid2">Initial value of the SpecialGuid2 property.</param> /// <param name="fromAddress">Initial value of the FromAddress property.</param> /// <param name="replyTo">Initial value of the ReplyTo 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="dateToSend">Initial value of the DateToSend property.</param> /// <param name="createdUtc">Initial value of the CreatedUtc property.</param> public static EmailSendQueue CreateEmailSendQueue(global::System.Guid guid, global::System.Guid siteGuid, global::System.Guid moduleGuid, global::System.Guid userGuid, global::System.Guid specialGuid1, global::System.Guid specialGuid2, global::System.String fromAddress, global::System.String replyTo, global::System.String toAddress, global::System.String subject, global::System.String type, global::System.DateTime dateToSend, global::System.DateTime createdUtc) { EmailSendQueue emailSendQueue = new EmailSendQueue(); emailSendQueue.Guid = guid; emailSendQueue.SiteGuid = siteGuid; emailSendQueue.ModuleGuid = moduleGuid; emailSendQueue.UserGuid = userGuid; emailSendQueue.SpecialGuid1 = specialGuid1; emailSendQueue.SpecialGuid2 = specialGuid2; emailSendQueue.FromAddress = fromAddress; emailSendQueue.ReplyTo = replyTo; emailSendQueue.ToAddress = toAddress; emailSendQueue.Subject = subject; emailSendQueue.Type = type; emailSendQueue.DateToSend = dateToSend; emailSendQueue.CreatedUtc = createdUtc; return emailSendQueue; }