Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Is it possible to use Entity Framework without "MVC" or should we use entity framework with "MVC" only?
Posted

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[^]
 
Share this answer
 
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[^]
Quote:
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.
Quote:
sure EF version 6 will support by VS2008?
Entity Framework - Version History
 
Share this answer
 
v2
Comments
[no name] 18-Feb-14 2:36am    
o fine really Thanks will try it now.
thatraja 18-Feb-14 2:50am    
Welcome. And check the version before download. Recent EF version is 6.
[no name] 18-Feb-14 2:51am    
sure EF version 6 will support by VS2008?
thatraja 18-Feb-14 2:56am    
Check updated answer
[no name] 18-Feb-14 2:59am    
Heartfull of thanks....Your post helps me alot...Keep going...
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.
:)
 
Share this answer
 
Comments
[no name] 18-Feb-14 1:52am    
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???
The14thNoah 18-Feb-14 2:54am    
right click the project=>add new item=>in visual c# tab select Data
[no name] 18-Feb-14 2:56am    
"right click the project=>add new item=>in visual c# tab select Data"
but under Data there is no Ado.net entity data model option....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900