升级从EF 4至5 EF [英] Upgrading from EF 4 to EF 5

查看:334
本文介绍了升级从EF 4至5 EF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序是基于.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?

解决方案

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.

这篇关于升级从EF 4至5 EF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆