Exemplo n.º 1
0
        public static HB_DAYAHEAD_PEK_POWER_PLANT[] List()
        {
            HB_DAYAHEAD_PEK_POWER_PLANT hb_dayahead_pek_power_plant;

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

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

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

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