Click here to Skip to main content
14,239,722 members
Rate this:
Please Sign up or sign in to vote.
See more:
Is it possible to use Entity Framework without "MVC" or should we use entity framework with "MVC" only?
Posted
Rate this:
Please Sign up or sign in to vote.

Solution 3

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[^]
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

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
   
v2
Comments
Appdev(Icode) 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.
Appdev(Icode) 18-Feb-14 2:51am
   
sure EF version 6 will support by VS2008?
thatraja 18-Feb-14 2:56am
   
Check updated answer
Appdev(Icode) 18-Feb-14 2:59am
   
Heartfull of thanks....Your post helps me alot...Keep going...
Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
:)
   
Comments
Appdev(Icode) 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
Appdev(Icode) 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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100