Ejemplo n.º 1
0
        public static DAYAHEAD_RESERVE_DEVIATION_REASON[] List()
        {
            DAYAHEAD_RESERVE_DEVIATION_REASON dayahead_reserve_deviation_reason;

            DAYAHEAD_RESERVE_DEVIATION_REASON[] dayahead_reserve_deviation_reasonArray;
            dayahead_reserve_deviation_reason      = new DAYAHEAD_RESERVE_DEVIATION_REASON();
            dayahead_reserve_deviation_reasonArray = (DAYAHEAD_RESERVE_DEVIATION_REASON[])CommonClassDB.Instance(dayahead_reserve_deviation_reason).load(dayahead_reserve_deviation_reason, "OrderId");
Label_0020:
            return(dayahead_reserve_deviation_reasonArray);
        }
Ejemplo n.º 2
0
        public static DAYAHEAD_RESERVE_DEVIATION_REASON[] List(string __strFilter, string __strSort, int __nPageIndex, int __nPageSize)
        {
            DAYAHEAD_RESERVE_DEVIATION_REASON dayahead_reserve_deviation_reason;

            DAYAHEAD_RESERVE_DEVIATION_REASON[] dayahead_reserve_deviation_reasonArray;
            DAYAHEAD_RESERVE_DEVIATION_REASON[] dayahead_reserve_deviation_reasonArray2;
            dayahead_reserve_deviation_reason       = new DAYAHEAD_RESERVE_DEVIATION_REASON();
            dayahead_reserve_deviation_reasonArray  = (DAYAHEAD_RESERVE_DEVIATION_REASON[])CommonClassDB.Instance(dayahead_reserve_deviation_reason).load(dayahead_reserve_deviation_reason, __nPageIndex, __nPageSize, __strFilter, __strSort);
            dayahead_reserve_deviation_reasonArray2 = dayahead_reserve_deviation_reasonArray;
Label_0021:
            return(dayahead_reserve_deviation_reasonArray2);
        }
Ejemplo n.º 3
0
        public static void DelTrue(int __nID)
        {
            DAYAHEAD_RESERVE_DEVIATION_REASON dayahead_reserve_deviation_reason;
            bool flag;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0028;
            }
            dayahead_reserve_deviation_reason    = new DAYAHEAD_RESERVE_DEVIATION_REASON();
            dayahead_reserve_deviation_reason.Id = __nID;
            CommonClassDB.Instance(dayahead_reserve_deviation_reason).delte(dayahead_reserve_deviation_reason);
Label_0028:
            return;
        }
Ejemplo n.º 4
0
        public static DAYAHEAD_RESERVE_DEVIATION_REASON Get(int __nID)
        {
            DAYAHEAD_RESERVE_DEVIATION_REASON dayahead_reserve_deviation_reason;
            DAYAHEAD_RESERVE_DEVIATION_REASON dayahead_reserve_deviation_reason2;
            bool flag;

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