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