Example #1
0
 public DateTime?GetCloseExecutionDateTime()
 {
     using (var connection = new OracleConnection(ConnectionString))
     {
         var timer = WorkflowProcessTimer.GetCloseExecutionTimer(connection);
         return(timer != null ? timer.NextExecutionDateTime : (DateTime?)null);
     }
 }
        public DateTime?GetCloseExecutionDateTime()
        {
            using (OracleConnection connection = new OracleConnection(ConnectionString))
            {
                var timer = WorkflowProcessTimer.GetCloseExecutionTimer(connection);
                if (timer == null)
                {
                    return(null);
                }

                return(timer.NextExecutionDateTime);
            }
        }