Entity Framework 6支持.NET 3.5吗?

7

Entity Framework 6支持.Net 3.5吗?

(在撰写本文时,EF 6仍处于测试阶段。)

文档显示使用.Net 4.5时有许多性能和其他方面的优点,但我找不到“最低要求”页面。

1个回答

9
在CodePlex上的EF6 Roadmap页面右侧显示,.Net 4.0是系统要求。此外,在查看与EF6相关的csproj文件时,似乎只提供4.0和4.5作为目标:
    ...
    <CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    ...
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugNet40|AnyCPU' ">
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    ...

基于这一点,我会说答案是不支持:EF6不支持.Net 3.5


我完全同意那个发现。谢谢确认。很抱歉在这里问了这么一个愚蠢的问题。 - Dan Sorensen

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接