2013-05-30 65 views
7

实体框架6是否支持.Net 3.5?实体框架6是否支持.Net 3.5?

(EF 6仍处于测试阶段,在写这篇文章的时候。)

文档显示许多好处,性能和否则,使用.NET 4.5的时候,但我不能找到一个“最低要求”页面。

回答

9

EF6 Roadmap page on CodePlex的右侧,它表示.Net 4.0是系统需求。此外,当reviewing the csproj files associated with EF6,似乎只有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

+0

我完全同意这一发现。感谢您的确认。对不起在这里问这样一个愚蠢的问题。 –