不使用Entity Framework,MVC 5应用程序的结构应该是什么? [英] What should be the structure of MVC 5 application without using Entity Framework?

查看:68
本文介绍了不使用Entity Framework,MVC 5应用程序的结构应该是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不使用实体框架的MVC 5应用程序示例。

解决方案

实体框架只是一个访问数据的ORM框架,更多内容请看下面的链接:

http://en.wikipedia.org/wiki/Object-relational_mapping [ ^ ]

http://en.wikipedia.org/wiki/List_of_object-relational_mapping_software [ ^ ]



开发的应用程序很多没有实体框架的ASP.NET MVC。

我在这里没有实体框架做过CRUD操作(我使用ASP.NET MVC 4和XML文件作为数据源):

使用ASP.NET MVC4中的部分视图和jQueryUI进行CRUD操作 - 第1部分 [ ^ ]



除此之外,您可以使用ADO.NET,LINQ to SQL,Sevices或任何其他机制来满足应用程序持久性存储的需要。如果您不需要任何数据存储,则无需使用任何类似的东西。



希望这会对你有所帮助。感谢。

Example of MVC 5 application without using Entity Framework.

解决方案

Entity Framework is just a ORM Framework to access data, for more have a look on below links:
http://en.wikipedia.org/wiki/Object-relational_mapping[^]
http://en.wikipedia.org/wiki/List_of_object-relational_mapping_software[^]

There are many applications developed in ASP.NET MVC without Entity Framework.
I have done CRUD opertaions without Entity framework here (I have used ASP.NET MVC 4 and XML files as data source):
CRUD Operations using Partial View and jQueryUI in ASP.NET MVC4 - Part 1[^]

Other than that you can use ADO.NET, LINQ to SQL, Sevices or any other mechanics to fulfill the need of persistence storage of your application. If you do not need any data storage, no need to use anything like that.

Hope this will help you. Thanks.


这篇关于不使用Entity Framework,MVC 5应用程序的结构应该是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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