Exemplo n.º 1
0
        public static INTRADAY_PLANT_PRESCHEDULE[] List()
        {
            INTRADAY_PLANT_PRESCHEDULE intraday_plant_preschedule;

            INTRADAY_PLANT_PRESCHEDULE[] intraday_plant_prescheduleArray;
            intraday_plant_preschedule      = new INTRADAY_PLANT_PRESCHEDULE();
            intraday_plant_prescheduleArray = (INTRADAY_PLANT_PRESCHEDULE[])CommonClassDB.Instance(intraday_plant_preschedule).load(intraday_plant_preschedule, "OrderId");
Label_0020:
            return(intraday_plant_prescheduleArray);
        }
Exemplo n.º 2
0
        public static INTRADAY_PLANT_PRESCHEDULE[] List(string __strFilter, string __strSort, int __nPageIndex, int __nPageSize)
        {
            INTRADAY_PLANT_PRESCHEDULE intraday_plant_preschedule;

            INTRADAY_PLANT_PRESCHEDULE[] intraday_plant_prescheduleArray;
            INTRADAY_PLANT_PRESCHEDULE[] intraday_plant_prescheduleArray2;
            intraday_plant_preschedule       = new INTRADAY_PLANT_PRESCHEDULE();
            intraday_plant_prescheduleArray  = (INTRADAY_PLANT_PRESCHEDULE[])CommonClassDB.Instance(intraday_plant_preschedule).load(intraday_plant_preschedule, __nPageIndex, __nPageSize, __strFilter, __strSort);
            intraday_plant_prescheduleArray2 = intraday_plant_prescheduleArray;
Label_0021:
            return(intraday_plant_prescheduleArray2);
        }
Exemplo n.º 3
0
        public static void DelTrue(int __nID)
        {
            INTRADAY_PLANT_PRESCHEDULE intraday_plant_preschedule;
            bool flag;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0028;
            }
            intraday_plant_preschedule    = new INTRADAY_PLANT_PRESCHEDULE();
            intraday_plant_preschedule.Id = __nID;
            CommonClassDB.Instance(intraday_plant_preschedule).delte(intraday_plant_preschedule);
Label_0028:
            return;
        }
Exemplo n.º 4
0
        public static INTRADAY_PLANT_PRESCHEDULE Get(int __nID)
        {
            INTRADAY_PLANT_PRESCHEDULE intraday_plant_preschedule;
            INTRADAY_PLANT_PRESCHEDULE intraday_plant_preschedule2;
            bool flag;

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