コード例 #1
0
        public static RESERVE_DEVIATION_REASON[] List()
        {
            RESERVE_DEVIATION_REASON reserve_deviation_reason;

            RESERVE_DEVIATION_REASON[] reserve_deviation_reasonArray;
            reserve_deviation_reason      = new RESERVE_DEVIATION_REASON();
            reserve_deviation_reasonArray = (RESERVE_DEVIATION_REASON[])CommonClassDB.Instance(reserve_deviation_reason).load(reserve_deviation_reason, "OrderId");
Label_0020:
            return(reserve_deviation_reasonArray);
        }
コード例 #2
0
        public static RESERVE_DEVIATION_REASON[] List(string __strFilter, string __strSort, int __nPageIndex, int __nPageSize)
        {
            RESERVE_DEVIATION_REASON reserve_deviation_reason;

            RESERVE_DEVIATION_REASON[] reserve_deviation_reasonArray;
            RESERVE_DEVIATION_REASON[] reserve_deviation_reasonArray2;
            reserve_deviation_reason       = new RESERVE_DEVIATION_REASON();
            reserve_deviation_reasonArray  = (RESERVE_DEVIATION_REASON[])CommonClassDB.Instance(reserve_deviation_reason).load(reserve_deviation_reason, __nPageIndex, __nPageSize, __strFilter, __strSort);
            reserve_deviation_reasonArray2 = reserve_deviation_reasonArray;
Label_0021:
            return(reserve_deviation_reasonArray2);
        }
コード例 #3
0
        public static void DelTrue(int __nID)
        {
            RESERVE_DEVIATION_REASON reserve_deviation_reason;
            bool flag;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0028;
            }
            reserve_deviation_reason    = new RESERVE_DEVIATION_REASON();
            reserve_deviation_reason.Id = __nID;
            CommonClassDB.Instance(reserve_deviation_reason).delte(reserve_deviation_reason);
Label_0028:
            return;
        }
コード例 #4
0
        public static RESERVE_DEVIATION_REASON Get(int __nID)
        {
            RESERVE_DEVIATION_REASON reserve_deviation_reason;
            RESERVE_DEVIATION_REASON reserve_deviation_reason2;
            bool flag;

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