Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么我不能在我的解决方案中同时使用 EF 和 ADO.NET 有什么原因吗?后者用于处理需要更快处理的更密集的数据库调用,而 EF 用于 ORM 的好处(代码优先)???
可能有一个误解,EF 和 ADO.NET 实际上是一起工作的。看概述MSDN
还有一篇文章显示了从 EF4 开始使用存储过程:EF4 中存储过程的一大步
EF 建立在 ADO.Net 之上,这意味着您可以同时使用两者。