public static HUAZHONG_RESERVE_DEVIATION_REASON[] List()
        {
            HUAZHONG_RESERVE_DEVIATION_REASON huazhong_reserve_deviation_reason;

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

            HUAZHONG_RESERVE_DEVIATION_REASON[] huazhong_reserve_deviation_reasonArray;
            HUAZHONG_RESERVE_DEVIATION_REASON[] huazhong_reserve_deviation_reasonArray2;
            huazhong_reserve_deviation_reason       = new HUAZHONG_RESERVE_DEVIATION_REASON();
            huazhong_reserve_deviation_reasonArray  = (HUAZHONG_RESERVE_DEVIATION_REASON[])CommonClassDB.Instance(huazhong_reserve_deviation_reason).load(huazhong_reserve_deviation_reason, __nPageIndex, __nPageSize, __strFilter, __strSort);
            huazhong_reserve_deviation_reasonArray2 = huazhong_reserve_deviation_reasonArray;
Label_0021:
            return(huazhong_reserve_deviation_reasonArray2);
        }
        public static void DelTrue(int __nID)
        {
            HUAZHONG_RESERVE_DEVIATION_REASON huazhong_reserve_deviation_reason;
            bool flag;

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

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