public void LoadMailingTemplate(EmailQueue obj) { if (obj.MailingTemplate != null) { _mailingTemplateProperty = obj.MailingTemplate.CurrentDTO; } }
public static EmailQueue GetEmailQueue(Func <IDataReader, EmailQueue> rowParser, SqlDataReader reader) { EmailQueue obj = rowParser(reader); obj.InitDTO(); obj.IsDirty = false; obj.IsNew = false; return(obj); }
public EmailQueue CopyDTO(EmailQueue obj) { obj.MailingTemplateID = this.MailingTemplateID; obj.SendTo = this.SendTo; obj.MailingText = this.MailingText; obj.MailingSubject = this.MailingSubject; obj.MailingFrom = this.MailingFrom; obj.RequestedDate = this.RequestedDate; obj.ProcessedDate = this.ProcessedDate; obj.ProcessResult = this.ProcessResult; return(obj); }
protected void UpdateChildren(EmailQueue parent, SqlConnection connection, SqlTransaction trans) { }
/// <summary> /// Creates a new object of type <see cref="EmailQueue"/>. /// </summary> /// <returns>Returns a newly instantiated collection of type <see cref="EmailQueue"/>.</returns> public static EmailQueue NewEmailQueue() { EmailQueue obj = new EmailQueue(); return(obj); }