コード例 #1
0
 public void LoadMailingTemplate(EmailQueue obj)
 {
     if (obj.MailingTemplate != null)
     {
         _mailingTemplateProperty = obj.MailingTemplate.CurrentDTO;
     }
 }
コード例 #2
0
        public static EmailQueue GetEmailQueue(Func <IDataReader, EmailQueue> rowParser, SqlDataReader reader)
        {
            EmailQueue obj = rowParser(reader);

            obj.InitDTO();
            obj.IsDirty = false;
            obj.IsNew   = false;
            return(obj);
        }
コード例 #3
0
 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);
 }
コード例 #4
0
 protected void UpdateChildren(EmailQueue parent, SqlConnection connection, SqlTransaction trans)
 {
 }
コード例 #5
0
        /// <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);
        }