public dynamic Get(RequestWrapper query) { query.LoadSettingXmlString(@" <settings defaultOrderBy='ID'> <select>*</select> <from>sys_code</from> <where defaultForAll='true' defaultCp='equal' defaultIgnoreEmpty='true' > <field name='Code' cp='equal'></field> <field name='Text' cp='equal'></field> </where> </settings>"); var service = new sys_codeService(); var pQuery = query.ToParamQuery(); var result = service.GetDynamicListWithPaging(pQuery); return result; }