Chapter 4. Understanding the new features of Entity Framework 5.0

In this chapter we will cover:

  • Creating our first Code First application
  • Using Code First Migrations

Introduction

Entity Framework (EF) has really grown, and with .NET 4.5, we have a mature framework that has some new capabilities, such as Code First Migrations, which we will explore in the following recipes.

Note that we will do that in a progressive way, so we will be creating a base for some of the recipes in the next chapter.

Get Microsoft .NET Framework 4.5 Quickstart Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.