Entity Framework Code First Migrations
This course teaches you about Entity Framework Code First Migrations introduced in EF 4.3. Migrations allow you to evolve your database without losing data or other database objects.
Authored by:
Julie Lerman
Duration: 1h 9m
Level: Intermediate
Released: 3/6/2012
Features:
Duration: 1h 9m
Level: Intermediate
Released: 3/6/2012
Features:
Course Rating:
You are currently not signed in. Please sign in to access subscriber-only content.
Currently using: {{getCurrentPlayerName()}} [Change]
| expand all | collapse all | Progress | Duration | |
|---|---|---|---|
Introduction and Automated Migrations |
|
00:29:19 | |
|
Introduction
|
|
00:12 | |
|
Objectives
|
|
00:50 | |
|
Database Initialization Prior to EF 4.3
|
|
01:10 | |
|
What are Migrations?
|
|
02:31 | |
|
Default Behavior with New Databases
|
|
02:24 | |
|
Default Behavior when Model Changes
|
|
02:03 | |
|
Enabling Migrations (and Automating)
|
|
03:23 | |
|
Setting the Database Iniitializer to use Migrations
|
|
04:09 | |
|
Migrating with existing data or other database objects
|
|
03:55 | |
|
Migrations with Existing Databases
|
|
06:26 | |
|
Also added in Entity Framework 4.3
|
|
01:01 | |
|
Summary
|
|
01:06 | |
|
Resources
|
|
00:09 | |
Code-Based Migrations |
|
00:40:36 | |
|
Introduction
|
|
00:13 | |
|
Objectives
|
|
01:12 | |
|
Getting started with code-based migrations
|
|
06:02 | |
|
Update-Database Parameter options
|
|
03:39 | |
|
Rolling back with targetted migrations
|
|
02:38 | |
|
Customizing migrations
|
|
07:01 | |
|
Data Motion and executing SQL from your migration
|
|
04:25 | |
|
Seeding the Database
|
|
03:38 | |
|
Creating scripts for production databases
|
|
04:09 | |
|
Turning off migrations and initialization for production
|
|
02:04 | |
|
Executing migrations using code, not PowerShell commands
|
|
03:41 | |
|
Minor changes in 4.3.1
|
|
00:53 | |
|
Summary
|
|
00:47 | |
|
Resources
|
|
00:14 |
Introduction and Automated Migrations