Beispiel #1
0
        private void ProcessNew()
        {
            var sqlClientAdo = new SQLClientAdo();

            //Rows with name/value pairs for template matching
            dbRows = sqlClientAdo.GetDbRows(Execution.JobConfig);
            foreach (DbRow row in dbRows)
            {
                Message msg = row.GetMessage(Execution.Config.Sender);

                if (msg.Status != MessageStatus.Sent)
                {
                    Execution.NewSendFails++;
                }

                _msgRepo.Create(msg);
            }
        }
Beispiel #2
0
 internal object Create(Message message)
 {
     return(_repo.Create(message));
 }