升级从EF 4至5 EFEF

2023-09-03 05:56:06 作者:为你、倾尽温柔

我的应用程序是基于.NET 4.0和EF 4.我现在在看升级到最新版本。

是否有任何重大更改或行为上的差异,可能我的应用程序?产生不利影响 是多么容易的升级路径?是否升级到EF 5要求任何code变更或其他工作? 是否有相关的任何新功能code-首先,这将是值得升级的呢? 解决方案   

如何方便的升级路径?是否升级到EF 5要求任何code变更或其他工作?

您将不得不升级到.NET 4.5的大多数新功能的工作。

  

是否有相关的任何新功能code-首先,这将是值得升级的呢?

不完全涉及到code-首先是因为它的横切,但还是值得一提:支持ENUM

My application is based on .NET 4.0 and EF 4. I'm now looking at upgrading to the latest versions.

Are there any breaking changes or behavioral differences that may adversely affect my application? How easy is the upgrade path? Does upgrading to EF 5 require any code changes or other work? Are there any new features related to code-first that would be worth upgrading for?

解决方案 无限风光超广角 佳能微单11 22mm IS镜头

How easy is the upgrade path? Does upgrading to EF 5 require any code changes or other work?

You'll have to upgrade to .net 4.5 for most new features to work.

Are there any new features related to code-first that would be worth upgrading for?

Not exactly related to code-first, because it's crosscutting, but still worth mentioning: Enum support.