Exemple #1
0
        public static DAYAHEAD_PRE_SCHEDULE[] List()
        {
            DAYAHEAD_PRE_SCHEDULE dayahead_pre_schedule;

            DAYAHEAD_PRE_SCHEDULE[] dayahead_pre_scheduleArray;
            dayahead_pre_schedule      = new DAYAHEAD_PRE_SCHEDULE();
            dayahead_pre_scheduleArray = (DAYAHEAD_PRE_SCHEDULE[])CommonClassDB.Instance(dayahead_pre_schedule).load(dayahead_pre_schedule, "OrderId");
Label_0020:
            return(dayahead_pre_scheduleArray);
        }
Exemple #2
0
        public static DAYAHEAD_PRE_SCHEDULE[] List(string __strFilter, string __strSort, int __nPageIndex, int __nPageSize)
        {
            DAYAHEAD_PRE_SCHEDULE dayahead_pre_schedule;

            DAYAHEAD_PRE_SCHEDULE[] dayahead_pre_scheduleArray;
            DAYAHEAD_PRE_SCHEDULE[] dayahead_pre_scheduleArray2;
            dayahead_pre_schedule       = new DAYAHEAD_PRE_SCHEDULE();
            dayahead_pre_scheduleArray  = (DAYAHEAD_PRE_SCHEDULE[])CommonClassDB.Instance(dayahead_pre_schedule).load(dayahead_pre_schedule, __nPageIndex, __nPageSize, __strFilter, __strSort);
            dayahead_pre_scheduleArray2 = dayahead_pre_scheduleArray;
Label_0021:
            return(dayahead_pre_scheduleArray2);
        }
Exemple #3
0
        public static void DelTrue(int __nID)
        {
            DAYAHEAD_PRE_SCHEDULE dayahead_pre_schedule;
            bool flag;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0028;
            }
            dayahead_pre_schedule    = new DAYAHEAD_PRE_SCHEDULE();
            dayahead_pre_schedule.Id = __nID;
            CommonClassDB.Instance(dayahead_pre_schedule).delte(dayahead_pre_schedule);
Label_0028:
            return;
        }
Exemple #4
0
        public static DAYAHEAD_PRE_SCHEDULE Get(int __nID)
        {
            DAYAHEAD_PRE_SCHEDULE dayahead_pre_schedule;
            DAYAHEAD_PRE_SCHEDULE dayahead_pre_schedule2;
            bool flag;

            if (((__nID < 1) == 0) != null)
            {
                goto Label_0010;
            }
            dayahead_pre_schedule2 = null;
            goto Label_0037;
Label_0010:
            dayahead_pre_schedule    = new DAYAHEAD_PRE_SCHEDULE();
            dayahead_pre_schedule.Id = __nID;
            dayahead_pre_schedule2   = (DAYAHEAD_PRE_SCHEDULE)CommonClassDB.Instance(dayahead_pre_schedule).get(dayahead_pre_schedule, dayahead_pre_schedule.Id);
Label_0037:
            return(dayahead_pre_schedule2);
        }