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