public static DAYAHEAD_RESERVE_RESULT[] List()
        {
            DAYAHEAD_RESERVE_RESULT dayahead_reserve_result;

            DAYAHEAD_RESERVE_RESULT[] dayahead_reserve_resultArray;
            dayahead_reserve_result      = new DAYAHEAD_RESERVE_RESULT();
            dayahead_reserve_resultArray = (DAYAHEAD_RESERVE_RESULT[])CommonClassDB.Instance(dayahead_reserve_result).load(dayahead_reserve_result, "OrderId");
Label_0020:
            return(dayahead_reserve_resultArray);
        }
        public static DAYAHEAD_RESERVE_RESULT[] List(string __strFilter, string __strSort, int __nPageIndex, int __nPageSize)
        {
            DAYAHEAD_RESERVE_RESULT dayahead_reserve_result;

            DAYAHEAD_RESERVE_RESULT[] dayahead_reserve_resultArray;
            DAYAHEAD_RESERVE_RESULT[] dayahead_reserve_resultArray2;
            dayahead_reserve_result       = new DAYAHEAD_RESERVE_RESULT();
            dayahead_reserve_resultArray  = (DAYAHEAD_RESERVE_RESULT[])CommonClassDB.Instance(dayahead_reserve_result).load(dayahead_reserve_result, __nPageIndex, __nPageSize, __strFilter, __strSort);
            dayahead_reserve_resultArray2 = dayahead_reserve_resultArray;
Label_0021:
            return(dayahead_reserve_resultArray2);
        }
        public static void DelTrue(int __nID)
        {
            DAYAHEAD_RESERVE_RESULT dayahead_reserve_result;
            bool flag;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0028;
            }
            dayahead_reserve_result    = new DAYAHEAD_RESERVE_RESULT();
            dayahead_reserve_result.Id = __nID;
            CommonClassDB.Instance(dayahead_reserve_result).delte(dayahead_reserve_result);
Label_0028:
            return;
        }
        public static DAYAHEAD_RESERVE_RESULT Get(int __nID)
        {
            DAYAHEAD_RESERVE_RESULT dayahead_reserve_result;
            DAYAHEAD_RESERVE_RESULT dayahead_reserve_result2;
            bool flag;

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