Course
Skills Expanded
Entity Framework Code First Migrations
Evolving your database along with your model
What you'll learn
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.
Table of contents
Introduction and Automated Migrations
29mins
- Introduction 0m
- Objectives 1m
- Database Initialization Prior to EF 4.3 1m
- What are Migrations? 3m
- Default Behavior with New Databases 2m
- Default Behavior when Model Changes 2m
- Enabling Migrations (and Automating) 3m
- Setting the Database Iniitializer to use Migrations 4m
- Migrating with existing data or other database objects 4m
- Migrations with Existing Databases 6m
- Also added in Entity Framework 4.3 1m
- Summary 1m
- Resources 0m
Code-Based Migrations
40mins
- Introduction 0m
- Objectives 1m
- Getting started with code-based migrations 6m
- Update-Database Parameter options 4m
- Rolling back with targetted migrations 3m
- Customizing migrations 7m
- Data Motion and executing SQL from your migration 4m
- Seeding the Database 4m
- Creating scripts for production databases 4m
- Turning off migrations and initialization for production 2m
- Executing migrations using code, not PowerShell commands 4m
- Minor changes in 4.3.1 1m
- Summary 1m
- Resources 0m