public static DAYAHEAD_POSITIVE_TRANS_LIMIT[] List()
        {
            DAYAHEAD_POSITIVE_TRANS_LIMIT dayahead_positive_trans_limit;

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

            DAYAHEAD_POSITIVE_TRANS_LIMIT[] dayahead_positive_trans_limitArray;
            DAYAHEAD_POSITIVE_TRANS_LIMIT[] dayahead_positive_trans_limitArray2;
            dayahead_positive_trans_limit       = new DAYAHEAD_POSITIVE_TRANS_LIMIT();
            dayahead_positive_trans_limitArray  = (DAYAHEAD_POSITIVE_TRANS_LIMIT[])CommonClassDB.Instance(dayahead_positive_trans_limit).load(dayahead_positive_trans_limit, __nPageIndex, __nPageSize, __strFilter, __strSort);
            dayahead_positive_trans_limitArray2 = dayahead_positive_trans_limitArray;
Label_0021:
            return(dayahead_positive_trans_limitArray2);
        }
        public static void DelTrue(int __nID)
        {
            DAYAHEAD_POSITIVE_TRANS_LIMIT dayahead_positive_trans_limit;
            bool flag;

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

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