Exemplo n.º 1
0
        public static RESERVE_COST[] List()
        {
            RESERVE_COST reserve_cost;

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

            RESERVE_COST[] reserve_costArray;
            RESERVE_COST[] reserve_costArray2;
            reserve_cost       = new RESERVE_COST();
            reserve_costArray  = (RESERVE_COST[])CommonClassDB.Instance(reserve_cost).load(reserve_cost, __nPageIndex, __nPageSize, __strFilter, __strSort);
            reserve_costArray2 = reserve_costArray;
Label_0021:
            return(reserve_costArray2);
        }
Exemplo n.º 3
0
        public static void DelTrue(int __nID)
        {
            RESERVE_COST reserve_cost;
            bool         flag;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0028;
            }
            reserve_cost    = new RESERVE_COST();
            reserve_cost.Id = __nID;
            CommonClassDB.Instance(reserve_cost).delte(reserve_cost);
Label_0028:
            return;
        }
Exemplo n.º 4
0
        public static RESERVE_COST Get(int __nID)
        {
            RESERVE_COST reserve_cost;
            RESERVE_COST reserve_cost2;
            bool         flag;

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