public static HUAZHONG_DAYAHEAD_RESERVE_PRICE[] List() { HUAZHONG_DAYAHEAD_RESERVE_PRICE huazhong_dayahead_reserve_price; HUAZHONG_DAYAHEAD_RESERVE_PRICE[] huazhong_dayahead_reserve_priceArray; huazhong_dayahead_reserve_price = new HUAZHONG_DAYAHEAD_RESERVE_PRICE(); huazhong_dayahead_reserve_priceArray = (HUAZHONG_DAYAHEAD_RESERVE_PRICE[])CommonClassDB.Instance(huazhong_dayahead_reserve_price).load(huazhong_dayahead_reserve_price, "OrderId"); Label_0020: return(huazhong_dayahead_reserve_priceArray); }
public static HUAZHONG_DAYAHEAD_RESERVE_PRICE[] List(string __strFilter, string __strSort, int __nPageIndex, int __nPageSize) { HUAZHONG_DAYAHEAD_RESERVE_PRICE huazhong_dayahead_reserve_price; HUAZHONG_DAYAHEAD_RESERVE_PRICE[] huazhong_dayahead_reserve_priceArray; HUAZHONG_DAYAHEAD_RESERVE_PRICE[] huazhong_dayahead_reserve_priceArray2; huazhong_dayahead_reserve_price = new HUAZHONG_DAYAHEAD_RESERVE_PRICE(); huazhong_dayahead_reserve_priceArray = (HUAZHONG_DAYAHEAD_RESERVE_PRICE[])CommonClassDB.Instance(huazhong_dayahead_reserve_price).load(huazhong_dayahead_reserve_price, __nPageIndex, __nPageSize, __strFilter, __strSort); huazhong_dayahead_reserve_priceArray2 = huazhong_dayahead_reserve_priceArray; Label_0021: return(huazhong_dayahead_reserve_priceArray2); }
public static void DelTrue(int __nID) { HUAZHONG_DAYAHEAD_RESERVE_PRICE huazhong_dayahead_reserve_price; bool flag; if (((__nID < 1) == 0) == null) { goto Label_0028; } huazhong_dayahead_reserve_price = new HUAZHONG_DAYAHEAD_RESERVE_PRICE(); huazhong_dayahead_reserve_price.Id = __nID; CommonClassDB.Instance(huazhong_dayahead_reserve_price).delte(huazhong_dayahead_reserve_price); Label_0028: return; }
public static HUAZHONG_DAYAHEAD_RESERVE_PRICE Get(int __nID) { HUAZHONG_DAYAHEAD_RESERVE_PRICE huazhong_dayahead_reserve_price; HUAZHONG_DAYAHEAD_RESERVE_PRICE huazhong_dayahead_reserve_price2; bool flag; if (((__nID < 1) == 0) != null) { goto Label_0010; } huazhong_dayahead_reserve_price2 = null; goto Label_0037; Label_0010: huazhong_dayahead_reserve_price = new HUAZHONG_DAYAHEAD_RESERVE_PRICE(); huazhong_dayahead_reserve_price.Id = __nID; huazhong_dayahead_reserve_price2 = (HUAZHONG_DAYAHEAD_RESERVE_PRICE)CommonClassDB.Instance(huazhong_dayahead_reserve_price).get(huazhong_dayahead_reserve_price, huazhong_dayahead_reserve_price.Id); Label_0037: return(huazhong_dayahead_reserve_price2); }