public void Finished()
        {
            var q = new BoxQuery<ScheduleBoxMap>()
                .Where(x => x.ExecutionState == ScheduleExecutionState.Finished);

            var boxed = q.ToList();
            Program.DumpBoxed(boxed);
        }
Beispiel #2
0
        public void Finished()
        {
            var q = new BoxQuery <ScheduleBoxMap>()
                    .Where(x => x.ExecutionState == ScheduleExecutionState.Finished);

            var boxed = q.ToList();

            Program.DumpBoxed(boxed);
        }
        public void Waiting()
        {
            var q = new BoxQuery<ScheduleBoxMap>()
                .Where(x => (x.ExecutionState < ScheduleExecutionState.Running) &&
                            (x.MessageState < ScheduleMessageState.Error))
                .Where(x => x.NextExecution < DateTime.Now)
                .OrderBy(x => x.NextExecution);

            var boxed = q.ToList();
            Program.DumpBoxed(boxed);
        }
Beispiel #4
0
        public void Waiting()
        {
            var q = new BoxQuery <ScheduleBoxMap>()
                    .Where(x => (x.ExecutionState < ScheduleExecutionState.Running) &&
                           (x.MessageState < ScheduleMessageState.Error))
                    .Where(x => x.NextExecution < DateTime.Now)
                    .OrderBy(x => x.NextExecution);

            var boxed = q.ToList();

            Program.DumpBoxed(boxed);
        }