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