Esempio n. 1
0
        public int Save(State.ImportProcessState importState)
        {
            List <ImportProcessState> lst = new List <ImportProcessState>();

            lst.Add(importState);

            return(Save(lst));
        }
 /// <summary>
 /// Constructor
 /// </summary>
 public ProcessQueueState()
 {
     //DataExecucao = null;
     Process                = new ImportProcessState();
     _schema                = new SchemaStruct();
     _schema.ObjectName     = "TB_ProcessQueue";
     _schema.QueueId        = "QueueId";
     _schema.ProcessId      = "ProcessId";
     _schema.DataAgendada   = "DtAgendada";
     _schema.DataExecucao   = "DtExecucao";
     _schema.DataReferencia = "DtReferencia";
     _schema.Executado      = "Executado";
     _schema.Success        = "Success";
 }