Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Entity Framework Vs MVC [closed]

I am a Asp.net developer and due to new advancements I am confused between MVC and Entity Framework.I would like to know which is the best option to study first EF or MVC

like image 1000
pranav Avatar asked Oct 15 '25 10:10

pranav


1 Answers

The two are completely different and have different purposes.

MVC (Model View Controller) is a programmatical pattern used for building applications. Microsoft have a a framework called ASP.Net MVC which is their implementation of it for building MVC websites.

Entity Framework (EF) is an ORM (Object Relational Mapping) tool. This is used primarily for simplifying the data access layer of an application. This can be used in conjunction with ASP.Net MVC.

Personally, I would read about ASP.Net MVC first. This is because you can then use any one of several ORMs with it, including NHibernate and Linq2SQL, the latter being very lightweight and a perfect place to start.

like image 192
Digbyswift Avatar answered Oct 18 '25 02:10

Digbyswift



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!