ef5+net4

Method not found: 'Void System.Data.Objects.ObjectContextOptions.set_UseConsistentNullReferenceBehavior(Boolean)

You can install EF5 for .NET4.0 via NuGet, but you probably won't get all the features.

PM> Install-Package EntityFramework -Version 5.0.0            include  ef 4.4

使用 EF 4.4.0  

    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />

posted @ 2013-04-29 15:13  rayray2  阅读(203)  评论(0编辑  收藏  举报