예제 #1
0
        public static DAYAHEAD_PLANT_PRESCHEDULE[] List()
        {
            DAYAHEAD_PLANT_PRESCHEDULE dayahead_plant_preschedule;

            DAYAHEAD_PLANT_PRESCHEDULE[] dayahead_plant_prescheduleArray;
            dayahead_plant_preschedule      = new DAYAHEAD_PLANT_PRESCHEDULE();
            dayahead_plant_prescheduleArray = (DAYAHEAD_PLANT_PRESCHEDULE[])CommonClassDB.Instance(dayahead_plant_preschedule).load(dayahead_plant_preschedule, "OrderId");
Label_0020:
            return(dayahead_plant_prescheduleArray);
        }
예제 #2
0
        public static DAYAHEAD_PLANT_PRESCHEDULE[] List(string __strFilter, string __strSort, int __nPageIndex, int __nPageSize)
        {
            DAYAHEAD_PLANT_PRESCHEDULE dayahead_plant_preschedule;

            DAYAHEAD_PLANT_PRESCHEDULE[] dayahead_plant_prescheduleArray;
            DAYAHEAD_PLANT_PRESCHEDULE[] dayahead_plant_prescheduleArray2;
            dayahead_plant_preschedule       = new DAYAHEAD_PLANT_PRESCHEDULE();
            dayahead_plant_prescheduleArray  = (DAYAHEAD_PLANT_PRESCHEDULE[])CommonClassDB.Instance(dayahead_plant_preschedule).load(dayahead_plant_preschedule, __nPageIndex, __nPageSize, __strFilter, __strSort);
            dayahead_plant_prescheduleArray2 = dayahead_plant_prescheduleArray;
Label_0021:
            return(dayahead_plant_prescheduleArray2);
        }
예제 #3
0
        public static void DelTrue(int __nID)
        {
            DAYAHEAD_PLANT_PRESCHEDULE dayahead_plant_preschedule;
            bool flag;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0028;
            }
            dayahead_plant_preschedule    = new DAYAHEAD_PLANT_PRESCHEDULE();
            dayahead_plant_preschedule.Id = __nID;
            CommonClassDB.Instance(dayahead_plant_preschedule).delte(dayahead_plant_preschedule);
Label_0028:
            return;
        }
예제 #4
0
        public static DAYAHEAD_PLANT_PRESCHEDULE Get(int __nID)
        {
            DAYAHEAD_PLANT_PRESCHEDULE dayahead_plant_preschedule;
            DAYAHEAD_PLANT_PRESCHEDULE dayahead_plant_preschedule2;
            bool flag;

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