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" />