Building your first MVC application with EF
Tutorials Shared by the Internet Community
Total Hits - 32107
Total Votes - 29 votes
Vote Up - 21 votes
Vote Down - 8 votes
Domain - www.webdevelopmenthelp.net
Category - ASP.Net/ASP.Net Misc
Submitted By - Imran Ghani
Submitted on - 2014-07-09 01:46:27
Before we start implementing an ASP.NET MVC application using Entity Framework, lets first understand few related concepts. Microsoft Entity Framework is basically an ORM (Object Relational Mapping) framework. So, what is an ORM?
In most of the cases when working with database driven application, we are performing different kind of operations on data like CRUD (Create, Retrieve, Update, Delete) operations. We might be using high level languages which are mostly object oriented like C#, VB.NET or Java etc. On the other hand, our databases are mostly relational in nature like MS SQL Server and Oracle. So, we are working with two different and incompatible type systems (i.e. Object Oriented Programming Languages with Relational Databases). So:
An ORM (Object Relational Mapping) framework provides an abstraction layer (a kind of mapping) between these two incompatible systems. It facilitates us to interact with data in an object oriented way and that's what Microsoft Entity Framework is doing. More detail...