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.
在那里,我只看到最新的 LINQKit 版本取决于 EF 6.0.2,我需要在 EF 5.0 上安装,是否有旧的 LINQKit 版本以兼容 EF 5.0?或者其他东西来代替它(.Expand() 功能)?
NuGet (1.1.1) 上最新版本的LinqKit确实依赖于 EF 6.0.2。(NuGet 包似乎不是由 LinqKit 的原作者维护的。)
但是 NuGet 上的 1.0 版本和官方网站上直接可用的版本都没有任何依赖关系,因此您可以从 EF 5 或任何其他基于 LINQ 的 ORM 中使用它。
要安装包的 1.0 版本,您可以使用包管理器控制台,如下所示:
Install-Package LinqKit -Version 1.0.0