public static INTRADAY_PEAK_POWER_PROV[] List()
        {
            INTRADAY_PEAK_POWER_PROV intraday_peak_power_prov;

            INTRADAY_PEAK_POWER_PROV[] intraday_peak_power_provArray;
            intraday_peak_power_prov      = new INTRADAY_PEAK_POWER_PROV();
            intraday_peak_power_provArray = (INTRADAY_PEAK_POWER_PROV[])CommonClassDB.Instance(intraday_peak_power_prov).load(intraday_peak_power_prov, "OrderId");
Label_0020:
            return(intraday_peak_power_provArray);
        }
        public static INTRADAY_PEAK_POWER_PROV[] List(string __strFilter, string __strSort, int __nPageIndex, int __nPageSize)
        {
            INTRADAY_PEAK_POWER_PROV intraday_peak_power_prov;

            INTRADAY_PEAK_POWER_PROV[] intraday_peak_power_provArray;
            INTRADAY_PEAK_POWER_PROV[] intraday_peak_power_provArray2;
            intraday_peak_power_prov       = new INTRADAY_PEAK_POWER_PROV();
            intraday_peak_power_provArray  = (INTRADAY_PEAK_POWER_PROV[])CommonClassDB.Instance(intraday_peak_power_prov).load(intraday_peak_power_prov, __nPageIndex, __nPageSize, __strFilter, __strSort);
            intraday_peak_power_provArray2 = intraday_peak_power_provArray;
Label_0021:
            return(intraday_peak_power_provArray2);
        }
        public static void DelTrue(int __nID)
        {
            INTRADAY_PEAK_POWER_PROV intraday_peak_power_prov;
            bool flag;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0028;
            }
            intraday_peak_power_prov    = new INTRADAY_PEAK_POWER_PROV();
            intraday_peak_power_prov.Id = __nID;
            CommonClassDB.Instance(intraday_peak_power_prov).delte(intraday_peak_power_prov);
Label_0028:
            return;
        }
        public static INTRADAY_PEAK_POWER_PROV Get(int __nID)
        {
            INTRADAY_PEAK_POWER_PROV intraday_peak_power_prov;
            INTRADAY_PEAK_POWER_PROV intraday_peak_power_prov2;
            bool flag;

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