public void LoadMailingTemplate(EmailQueue obj) { if (obj.MailingTemplate != null) { _mailingTemplateProperty = obj.MailingTemplate.CurrentDTO; } }
public void InitDTO() { MailingTemplateDTO dt = new MailingTemplateDTO(); dt.MailingTemplateID = this.MailingTemplateID; dt.Description = this.Description; dt.MailingText = this.MailingText; dt.MailingSubject = this.MailingSubject; dt.MailingFrom = this.MailingFrom; dt.CreatedBy = this.CreatedBy; dt.CreatedOn = this.CreatedOn; dt.UpdatedBy = this.UpdatedBy; dt.UpdatedOn = this.UpdatedOn; //LoadProperty(_currentDto, dt); this.CurrentDTO = dt; }