摘要: dapper封装的扩展方法中,没有直接返回datatable的方法,项目中有些时候需要用到这样的返回格式,而为了项目数据框架的统一性, 不好直接用其他框架,如果直接将查询出来的泛型集合转datatable又会很繁琐,这里就是用dapper的ExecuteReader()方法,将返回的转换成datat 阅读全文
posted @ 2018-10-15 16:13 小飛 阅读(5699) 评论(0) 推荐(3) 编辑