阅读背景:

为什么实体框架在获取表行时触发两个SQL查询?

来源:互联网 

I am using Entity Framework 6.1.3, when i fetch the user by username/password as shown below. EF actually fires two SQL queries to the database. I used SQL Server Profiler to inspect the query calls. By preventing second call I can reduce the execution time.I am using Entity Framework 6.1.3, when i fetch




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: