Exemple #1
0
        public static INTRADAY_PEAK_POWER_PLANT[] List()
        {
            INTRADAY_PEAK_POWER_PLANT intraday_peak_power_plant;

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

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

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

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