摘要: 1、T4 Editor安装 T4:根据模板生成文件,例如model等 vs中默认t4模板编码是没有提示和高亮的,需使用以下插件,免费的 https://t4-editor.tangible-engineering.com/Download_T4Editor_Plus_ModelingTools.ht 阅读全文
posted @ 2019-02-28 18:05 WebApi 阅读(2396) 评论(1) 推荐(0) 编辑
摘要: 查看ef生成的sql有很多种方法,这里介绍两种几种的方法 方法1:浏览器直接方法/Home/getsql直接查看sql 方法2:把生成的sql保存在磁盘中 方法3:MiniProfiler 建议使用vs2015以上nuget搜索MiniProfiler安装 需要安装MiniProfiler、Mini 阅读全文
posted @ 2019-02-28 10:28 WebApi 阅读(1063) 评论(0) 推荐(0) 编辑
CopyRight © 博客园 WebAPI