将果园实体框架CMS支持MVC4 [英] Will Orchard CMS support MVC4 with Entity Framework

查看:125
本文介绍了将果园实体框架CMS支持MVC4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有MVC4建立了一个网站,实体框架4.4。有2个项目。即,一来是对我们的网站,另一个,类库(Definded作为的.edmx)。这个时候我们需要迁移以支持CMS。而且,我们已经选择使用CMS果园。我需要知道,果园是否支持实体框架4.4或没有。

I have a Site built with MVC4, Entity Framework 4.4. There are 2 projects. ie, The one is about our Site and the other one, the Class library (Definded as the .edmx). This time we need to migrate it to support CMS. And, we have choose to use Orchard CMS. I need to know, whether Orchard supports Entity Framework 4.4 or not.

这个任何建议将是非常美联社preciated。

Any suggestions to this will be highly appreciated.

感谢

推荐答案

您可以自由使用任何自定义code在自己的模块,包括EF用于访问数据库。

You're free to use any custom code in your modules, including EF for accessing databases.

果园核心(后面的内容项目持久性的所有逻辑)将仍然NH虽然上运行而这不会很快改变。​​

Orchard core (and all logic behind content items' persistence) will still run on top of NH though and that's not going to change anytime soon.

这篇关于将果园实体框架CMS支持MVC4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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