2017-05-31 02:57:12 +08:00
|
|
|
## Entity Framework version must match the .NET Framework version
|
2017-04-06 04:52:19 +08:00
|
|
|
|
|
|
|
### Scope
|
|
|
|
Major
|
|
|
|
|
|
|
|
### Version Introduced
|
|
|
|
4.5
|
|
|
|
|
|
|
|
### Source Analyzer Status
|
|
|
|
Planned
|
|
|
|
|
|
|
|
### Change Description
|
2017-04-21 02:19:05 +08:00
|
|
|
|
|
|
|
The entity framework version should be matched with the .NET framework version.
|
2018-03-01 08:06:28 +08:00
|
|
|
Entity Framework 5 is recommended for .NET Framework 4.5. There are some known issues with
|
|
|
|
EF 4.x in a .NET Framework 4.5 project around
|
2017-04-21 02:19:05 +08:00
|
|
|
<xref:System.ComponentModel.DataAnnotations>. In .NET
|
|
|
|
4.5, these were moved to a different assembly, so there are issues determining
|
|
|
|
which annotations to use.
|
2017-04-06 04:52:19 +08:00
|
|
|
|
|
|
|
- [ ] Quirked
|
|
|
|
- [x] Build-time break
|
|
|
|
|
|
|
|
### Recommended Action
|
2017-05-31 02:57:12 +08:00
|
|
|
Upgrade to Entity Framework 5 for .NET Framework 4.5
|
2017-04-06 04:52:19 +08:00
|
|
|
|
|
|
|
### Affected APIs
|
|
|
|
* Not detectable via API analysis
|
|
|
|
|
|
|
|
### Category
|
|
|
|
Entity Framework
|
|
|
|
|
|
|
|
[More information](http://forums.asp.net/t/1779042.aspx)
|
2017-04-18 07:52:04 +08:00
|
|
|
|
|
|
|
<!-- breaking change id: 25 -->
|