Esempio n. 1
0
        public static HUAZHONG_PEK_RESULT[] List()
        {
            HUAZHONG_PEK_RESULT huazhong_pek_result;

            HUAZHONG_PEK_RESULT[] huazhong_pek_resultArray;
            huazhong_pek_result      = new HUAZHONG_PEK_RESULT();
            huazhong_pek_resultArray = (HUAZHONG_PEK_RESULT[])CommonClassDB.Instance(huazhong_pek_result).load(huazhong_pek_result, "OrderId");
Label_0020:
            return(huazhong_pek_resultArray);
        }
Esempio n. 2
0
        public static HUAZHONG_PEK_RESULT[] List(string __strFilter, string __strSort, int __nPageIndex, int __nPageSize)
        {
            HUAZHONG_PEK_RESULT huazhong_pek_result;

            HUAZHONG_PEK_RESULT[] huazhong_pek_resultArray;
            HUAZHONG_PEK_RESULT[] huazhong_pek_resultArray2;
            huazhong_pek_result       = new HUAZHONG_PEK_RESULT();
            huazhong_pek_resultArray  = (HUAZHONG_PEK_RESULT[])CommonClassDB.Instance(huazhong_pek_result).load(huazhong_pek_result, __nPageIndex, __nPageSize, __strFilter, __strSort);
            huazhong_pek_resultArray2 = huazhong_pek_resultArray;
Label_0021:
            return(huazhong_pek_resultArray2);
        }
Esempio n. 3
0
        public static void DelTrue(int __nID)
        {
            HUAZHONG_PEK_RESULT huazhong_pek_result;
            bool flag;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0028;
            }
            huazhong_pek_result    = new HUAZHONG_PEK_RESULT();
            huazhong_pek_result.Id = __nID;
            CommonClassDB.Instance(huazhong_pek_result).delte(huazhong_pek_result);
Label_0028:
            return;
        }
Esempio n. 4
0
        public static HUAZHONG_PEK_RESULT Get(int __nID)
        {
            HUAZHONG_PEK_RESULT huazhong_pek_result;
            HUAZHONG_PEK_RESULT huazhong_pek_result2;
            bool flag;

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