解决SQL语句在Dapper执行超时比Query慢的问题

在语句结尾加上 Add OPTION (RECOMPILE) to the end

https://stackoverflow.com/questions/10933366/sp-executesql-is-slow-with-parameters

posted @ 2019-05-29 16:15  风w  阅读(1825)  评论(0编辑  收藏  举报