在MVC 5的ERP项目中我可以使用实体框架吗? [英] In ERP project of MVC 5 can I use entity framework?

查看:94
本文介绍了在MVC 5的ERP项目中我可以使用实体框架吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好每一个

我用MVC 5创建ERP项目首先使用代码和实体框架。

所以我的问题是我可以用Entity Framework创建ERP。



我尝试了什么:



我已经完成了大部分工作使用EF工作。

解决方案

这取决于你想要实现的模块类型。



您可以使用以下任何一种方式

1. Microsoft.Practices.EnterpriseLibrary.Data(DAAB)

2.实体框架(EF)



注意:

引用:

它们是完全不同的动物。 DAAB是一个数据访问库(围绕ADO.NET的包装器),而实体框架是一个Object Relatonal Mapper。他们不做同样的事情。如果要使用数据访问库,Microsoft将推荐实体框架。如果要使用ORM。他们会推荐EF。





参考网站:企业库VS实体框架是行业标准吗? | ASP.NET论坛 [ ^ ]


hello every one
I am creating ERP project with MVC 5 using code first and entity framework.
so my question is that can i create ERP with Entity Framework.

What I have tried:

I already done most of my work using EF.

解决方案

It depend on your what type of modules are you trying to implement.

You can go with any of the below mentioned way
1. Microsoft.Practices.EnterpriseLibrary.Data (DAAB)
2. Entity Framework (EF)

Note:

Quote:

They are completely different animals. The DAAB is a data access library (wrappers around ADO.NET), whereas the Entity Framework is an Object Relatonal Mapper. They don't do the same thing. If you want to use a data access library, Microsoft would recomend the Entity Framework. If you want to use an ORM. they would recomment EF.



Ref site: Enterprise Library VS Entity Framework which is industry standard? | The ASP.NET Forums[^]


这篇关于在MVC 5的ERP项目中我可以使用实体框架吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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