摘要:
publicListgetLocationList(intcompanyid,stringsearchValue,stringsearchField){...vardbLocList=fromxin_dbLocListwherex.company_id==companyidandx的searchField==searchValue//这里要查询的字段是变量selectx;}and那一句怎么实现为list加一个扩展方法:using System.Reflection;public static class Extension { public static List Fi... 阅读全文