是否可以使用没有“MVC”的实体框架。 [英] Is it possible to use Entity Framework without "MVC"

查看:84
本文介绍了是否可以使用没有“MVC”的实体框架。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在没有MVC的情况下使用实体框架,或者我们是否应该仅使用MVC实体框架?

Is it possible to use Entity Framework without "MVC" or should we use entity framework with "MVC" only?

推荐答案

专家已经回答我们可以使用没有MVC的实体框架。这是一个示例应用程序,解释了如何使用实体框架,没有任何MVC参考:



实体框架 - 初学者的示例应用程序 [ ^ ]
Experts have already answered that we can use entity framework without MVC. Here is a sample application that explains how to use entity framework, without any reference of MVC:

Entity Framework - Sample Application for Beginners[^]


实体框架 [ ^ ]是ORM&它没有附加到MVC。您也可以将Entity Framework与ASP.NET webforms一起使用。查看这篇文章

绝对初学者的实体框架 [ ^ ]

Entity Framework[^] is an ORM & it's not attached to MVC. You could use Entity Framework with ASP.NET webforms too. Check this article
An Introduction to Entity Framework for Absolute Beginners[^]
引用:

M谢谢....实际上我正在使用VS2008,SP1和.net框架3.5 ....但我无法找到Ado.net实体数据模型。 (右键单击项目 - >添加新项目 - >但这里我找不到Ado.net实体数据模型)你对此有什么想法???

M thanks....Actually i'm using VS2008 , SP1 and .net framework 3.5....but i'm unable to find Ado.net entity data model. (right click the project -> Add new item - > but here i cnt find Ado.net entity data model) do you have any idea regarding this???

你必须安装实体框架 [ ^ ]在你的系统中。

You have to install the Entity Framework[^] in your system.

引用:

确定EF版本6将由VS2008支持吗?

sure EF version 6 will support by VS2008?

实体框架 - 版本历史


即使我们不使用MVC格式,我们也可以使用实体框架。

我在某些地方使用EF我没有使用MVC的asp.net项目,但到目前为止,使用MVC和EF是最好的做法。

:)
We can use Entity Framework even if we dont use MVC format.
I've use EF in some of my asp.net project without using MVC,but using MVC with EF is the best practice so far.
:)


这篇关于是否可以使用没有“MVC”的实体框架。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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