Database Reference
In-Depth Information
Introducing Entity Framework
Entity Framework ( EF ) has many tools designed to integrate well into Visual Studio. EF
is an object relational mapper ( ORM ) where Visual Studio, through wizards into Visual
Studio and SQL Server, takes care of a lot of the mapping effort and even creates entity ob-
jects from existing database. We will briefly touch upon Entity Framework for the needs of
this topic and working with SQL databases and MVC. It is neither a requirement to know
EF at this point nor to be an EF expert to work with NSB; however, a developer should be
familiar with EF so as to relate to Visual Studio and SQL Servers, especially as a Microsoft
best practice. If further information is desired outside this topic, feel free to visit my slides
at http://www.slideshare.net/rhelton_1/asp-mvc3-rev009 .
EF can be installed into your application when developing just using NuGet.
After downloading it, we can create model objects from tables and databases. The model
will create the connection string for the entity models in the app.config file as well as
establish mapping to the entity objects, and the entity objects themselves.
Search WWH ::




Custom Search