Entity Framework 4.1 - Code First
This course introduces viewers to Entity Framework 4.1. The first module provides an overview of the features you will find in Entity Framework 4.1. The next two modules drill into configuring Code First using the Code First Data Annotations and then configuring with the Code First Fluent API.
You are currently not signed in. Please sign in to access subscriber-only content.
Currently using: {{getCurrentPlayerName()}} [Change]
| expand all | collapse all | Progress | Duration | |
|---|---|---|---|
Entity Framework 4.1 Introduction |
|
00:33:39 | |
|
Introduction
|
|
00:12 | |
|
Objectives
|
|
00:21 | |
|
What's in Entity Framework 4.1?
|
|
01:04 | |
|
Getting and Installing EF 4.1
|
|
00:42 | |
|
Understanding How Code First Works
|
|
02:13 | |
|
Code First's Conventional Behavior
|
|
01:25 | |
|
Creating a Data Layer with DbContext
|
|
01:35 | |
|
Running Some Code to see Code First In Action
|
|
04:51 | |
|
Adding Configurations to Code First
|
|
00:39 | |
|
Configuring Property Attributes
|
|
00:09 | |
|
First look at Data Annotations
|
|
05:01 | |
|
First look at the Fluent API
|
|
02:52 | |
|
Configuring Mappings
|
|
03:44 | |
|
Configuring Relationships
|
|
00:49 | |
|
Database Initialization
|
|
04:30 | |
|
Looking at DbContext
|
|
02:47 | |
|
Summary
|
|
00:34 | |
|
Resources
|
|
00:11 | |
Code First Data Annotations |
|
00:45:47 | |
|
Introduction
|
|
00:12 | |
|
Objectives
|
|
00:17 | |
|
Why Configure in Code First?
|
|
01:14 | |
|
List of Possible Data Annotations
|
|
00:44 | |
|
Sample Domain with Default Code First Behavior
|
|
02:48 | |
|
Key Attribute
|
|
03:22 | |
|
Required Attribute along with a look at Validation
|
|
04:43 | |
|
MaxLength and MinLength Attributes
|
|
03:27 | |
|
Table and Column Attributes
|
|
06:43 | |
|
ConcurrencyCheck and Timestamp
|
|
05:05 | |
|
DatabaseGenerated Attribute
|
|
05:08 | |
|
NotMapped Attribute
|
|
00:53 | |
|
ComplexType Attribute
|
|
02:07 | |
|
ForeignKey Attribute
|
|
03:46 | |
|
InverseProperty Attribute
|
|
03:25 | |
|
Review of Annotations
|
|
01:40 | |
|
Resources
|
|
00:13 | |
Code First Fluent API |
|
00:39:23 | |
|
Introduction
|
|
00:12 | |
|
Objectives
|
|
00:46 | |
|
Why Fluent Configurations instead of Data Annotations?
|
|
00:36 | |
|
Types of Fluent Mappings
|
|
00:15 | |
|
How to apply fluent configurations
|
|
00:44 | |
|
The domain classes and code first conventions
|
|
01:52 | |
|
Database Mappings
|
|
04:25 | |
|
Configuring Property Attributes and Entity Keys
|
|
04:12 | |
|
Configuring Complex Types
|
|
02:13 | |
|
Ignoring Classes When Building the Model
|
|
02:31 | |
|
Entity Splitting
|
|
02:14 | |
|
Table Splitting
|
|
05:51 | |
|
Defining Configurations in EntityTypeConfiguration classes
|
|
01:48 | |
|
Concurrency Configurations
|
|
00:51 | |
|
DatabaseGenerated for Identity and Computed Database fields
|
|
01:12 | |
|
Fixing Unconventional Foreign Key Names
|
|
04:25 | |
|
Fixing Join Tables in Many to Many Relationships
|
|
00:40 | |
|
MSDN Library Topic for More Relationship Configurations
|
|
00:33 | |
|
Configuring Inheritance Hierarchies
|
|
03:05 | |
|
Summary
|
|
00:45 | |
|
Resources
|
|
00:13 |
Entity Framework 4.1 Introduction