What is Entity Framework?4:19 with James Churchill
Let's take a moment to talk about databases and the .NET Framework's support for working with databases. We'll also take a look at what Entity Framework is and how it offers developers a better way of working with data in their applications.
In the video, I referred to POCOs as "Plain Old C# Objects", though they're sometimes known as "Plain Old CLR Objects". The CLR is the part of the .NET Framework that manages the execution of .NET applications. Click here for more information about the .NET CLR.
Entity Framework Data Providers
While EF is typically used with SQL Server, other databases are supported through the use of data providers. Here are links to some common alternatives.
If you'd like to learn more about databases, see these Treehouse courses.
For more information about LINQ, see this Treehouse course.
LINQ to Entities enables developers to write EF queries using C#. For more information see:
EF Development History
EF has improved greatly since its early releases. Here's an overview of the development history of EF.
- Initially only supported Database First workflow
- No support for POCO entity classes
- Model First workflow
- Support for POCO entity classes
- Lazy loading
- First version shipped outside of the .NET Framework
- Added support for Code First workflow
- Introduced Code First Migrations
- EF is open sourced
- Enum support
- EF Power Tools
- Async query and save
- No longer dependent on the .NET Framework
- Full list of changes at https://msdn.microsoft.com/en-us/data/jj574253.aspx
You need to sign up for Treehouse in order to download course files.Sign up