My newest course is live on Pluralsight.com. This one is about using the new data migrations feature of Entity Framework Code First. These were first introduced with EF 4.3. Migrations lets you update your database schema when your model changes rather than having code first completely drop and recreate the database. This lets you retain data and any other existing database objects that aren’t described in the model (e.g., triggers, functions, etc.)
Entity Framework Code First Migrations
(total 1 hr 09 m)
- Module 1: Introduction and Automatic Migrations
- Module 2: Code-Based Migrations
Here’s the entire list of EF courses I’ve done for Pluralsight (so far ). I’ve sorted them in the order you might want to watch them in.
Entity Framework (8 courses)
Entity Framework 4.0 By Example
Beginner
[02:18:50]
27 Aug 2010
Entity Framework and Data Models
Intermediate
[01:31:38]
5 Nov 2010
Designer Supported EDM Customization
Intermediate
[02:05:13]
6 Jan 2011
Querying the Entity Framework
Intermediate
[01:22:37]
28 Feb 2011
Entity Framework 4.1 – Code First
Intermediate
[01:58:17]
18 Jun 2011
Entity Framework 4.1 – DbContext Data Access
Intermediate
[01:21:19]
27 Sep 2011
Data Layer Validation with Entity Framework 4.1+
Intermediate
[01:53:49]
8 Feb 2012
Entity Framework Code First Migrations
Intermediate
[01:09]
6 Mar 2012
Sign up for my newsletter so you don't miss my conference & Pluralsight course announcements!
I was just getting ready to ask if a ‘Code First Migrations’ PluralSight video series was in the works…and it appeared before I could even ask! Great! Thank you! Have both the ‘Code First’ and ‘DbContext’ books, thank you for those, too. Now I’m off to watch the new videos!
Julie,
I always look forward to your PluralSight videos.
However, if you ever talk to the powers-that-be on the EF Dev Team, can you please tell them some developers would like to use the Power Shell command script and not PM console to update database. I mean, who wants to re-open VS if you can make changes from command script, especially if you want the client to dynamically alter the Db?!?
I know you said the EF Team Blog has info on this but I looked high and low and could not find.
I do not know what is in the MS mind set, ie they want us always in VS, but some developers would like more documentation on powershell command script info to work with EF.
Thanks!
@Ed – thedatafarm.com/…/ef-code-first-m 🙂
Hi Julie,
I really enjoyed all of your videos on Pluralsight.
In the "Querying the Entity Framework" video, a number of times you mentioned a security and performance module where you’d cover certain scenarios. I was looking forward to this, but it never came up. Did I miss something, or were you not able to complete these module?