public static HUAZHONG_PEK_DEVIATION_REASON[] List() { HUAZHONG_PEK_DEVIATION_REASON huazhong_pek_deviation_reason; HUAZHONG_PEK_DEVIATION_REASON[] huazhong_pek_deviation_reasonArray; huazhong_pek_deviation_reason = new HUAZHONG_PEK_DEVIATION_REASON(); huazhong_pek_deviation_reasonArray = (HUAZHONG_PEK_DEVIATION_REASON[])CommonClassDB.Instance(huazhong_pek_deviation_reason).load(huazhong_pek_deviation_reason, "OrderId"); Label_0020: return(huazhong_pek_deviation_reasonArray); }
public static HUAZHONG_PEK_DEVIATION_REASON[] List(string __strFilter, string __strSort, int __nPageIndex, int __nPageSize) { HUAZHONG_PEK_DEVIATION_REASON huazhong_pek_deviation_reason; HUAZHONG_PEK_DEVIATION_REASON[] huazhong_pek_deviation_reasonArray; HUAZHONG_PEK_DEVIATION_REASON[] huazhong_pek_deviation_reasonArray2; huazhong_pek_deviation_reason = new HUAZHONG_PEK_DEVIATION_REASON(); huazhong_pek_deviation_reasonArray = (HUAZHONG_PEK_DEVIATION_REASON[])CommonClassDB.Instance(huazhong_pek_deviation_reason).load(huazhong_pek_deviation_reason, __nPageIndex, __nPageSize, __strFilter, __strSort); huazhong_pek_deviation_reasonArray2 = huazhong_pek_deviation_reasonArray; Label_0021: return(huazhong_pek_deviation_reasonArray2); }
public static void DelTrue(int __nID) { HUAZHONG_PEK_DEVIATION_REASON huazhong_pek_deviation_reason; bool flag; if (((__nID < 1) == 0) == null) { goto Label_0028; } huazhong_pek_deviation_reason = new HUAZHONG_PEK_DEVIATION_REASON(); huazhong_pek_deviation_reason.Id = __nID; CommonClassDB.Instance(huazhong_pek_deviation_reason).delte(huazhong_pek_deviation_reason); Label_0028: return; }
public static HUAZHONG_PEK_DEVIATION_REASON Get(int __nID) { HUAZHONG_PEK_DEVIATION_REASON huazhong_pek_deviation_reason; HUAZHONG_PEK_DEVIATION_REASON huazhong_pek_deviation_reason2; bool flag; if (((__nID < 1) == 0) != null) { goto Label_0010; } huazhong_pek_deviation_reason2 = null; goto Label_0037; Label_0010: huazhong_pek_deviation_reason = new HUAZHONG_PEK_DEVIATION_REASON(); huazhong_pek_deviation_reason.Id = __nID; huazhong_pek_deviation_reason2 = (HUAZHONG_PEK_DEVIATION_REASON)CommonClassDB.Instance(huazhong_pek_deviation_reason).get(huazhong_pek_deviation_reason, huazhong_pek_deviation_reason.Id); Label_0037: return(huazhong_pek_deviation_reason2); }