You are going to learn EntityFramework from scratch in this section. We will use EntityFramework 5.0 with Visual Studio 2012 for all the basic tutorials.
Entity Framework 5.0 is an important release by Microsoft. It can be used in Visual Studio 2010 and Visual Studio 2012 to write applications that target .NET 4.0 and .NET 4.5.
Important versions history of EntityFramework:
|EntityFramework Version||Introduced Features|
|EF 3.5||Basic O/RM support with Database First approach.|
|EF 4.0||POCO Support, Lazy loading, testability improvements, customizable code generation and the Model First approach.|
|EF 4.1||First to available of NuGet package, Simplified DBContext API over ObjectContext, Code First approach. EF 4.1.1 patch released with bug fixing of 4.1.|
|EF 4.3||Code First Migrations feature that allows a database created by Code First to be incrementally changed as your Code First model evolves. EF 4.3.1 patch released with bug fixing of EF 4.3.|
|EF 5.0||Announced EF as Open Source. Introduced Enum support, table-valued functions, spatial data types, multiple-diagrams per model, coloring of shapes on the design surface and batch import of stored procedures, EF Power Tools and various performance improvements.|
|EF 6.0 - Current release||EF 6.0\6.1 is latest release of Entity Framework. It includes many new featurs related to code first & EF designer like asynchronous query & save, connection Resiliency, dependency resolution etc.|
Visitfor detailed information on EntityFramework Version History.
Visitto learn about EF code-first model from scratch.
Prerequisites: Basic knowledge of .Net Framework, C#, Visual Studio 2008/2010 and MS SQL Server is required.
Audience: Basic tutorials are helpful who doesn’t know anything about Entity Framework and wants to learn it from scratch.