Ejemplo n.º 1
0
        public static INTRADAY_PEAK_PRICE[] List()
        {
            INTRADAY_PEAK_PRICE intraday_peak_price;

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

            INTRADAY_PEAK_PRICE[] intraday_peak_priceArray;
            INTRADAY_PEAK_PRICE[] intraday_peak_priceArray2;
            intraday_peak_price       = new INTRADAY_PEAK_PRICE();
            intraday_peak_priceArray  = (INTRADAY_PEAK_PRICE[])CommonClassDB.Instance(intraday_peak_price).load(intraday_peak_price, __nPageIndex, __nPageSize, __strFilter, __strSort);
            intraday_peak_priceArray2 = intraday_peak_priceArray;
Label_0021:
            return(intraday_peak_priceArray2);
        }
Ejemplo n.º 3
0
        public static void DelTrue(int __nID)
        {
            INTRADAY_PEAK_PRICE intraday_peak_price;
            bool flag;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0028;
            }
            intraday_peak_price    = new INTRADAY_PEAK_PRICE();
            intraday_peak_price.Id = __nID;
            CommonClassDB.Instance(intraday_peak_price).delte(intraday_peak_price);
Label_0028:
            return;
        }
Ejemplo n.º 4
0
        public static INTRADAY_PEAK_PRICE Get(int __nID)
        {
            INTRADAY_PEAK_PRICE intraday_peak_price;
            INTRADAY_PEAK_PRICE intraday_peak_price2;
            bool flag;

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