Entity Framework 4.1 - DbContext Data Access
The EF 4.1 DbContext API works with Code First, Database First, and Model First and provides a simplified, productive environment for building all types of data-backed applications
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 DbContext and DbSet |
|
00:41:38 | |
|
Introduction
|
|
00:14 | |
|
Objectives
|
|
00:40 | |
|
Comparing EF 4.1 Classes to EF 4
|
|
02:13 | |
|
Adding, Attaching and Removing Entities
|
|
04:17 | |
|
DbContext.Find
|
|
02:37 | |
|
Accessing In-Memory Objects
|
|
04:58 | |
|
Proxies, Change Tracking and Lazy Loading
|
|
06:39 | |
|
Automatically Detecting Object Changes
|
|
01:15 | |
|
Getting the ObjectContext from DbContext
|
|
01:23 | |
|
Using Change Tracker to Affect Entities
|
|
09:44 | |
|
Handling Optimistic Concurrency
|
|
03:10 | |
|
dbcontext and Database/Model First EDMX Files
|
|
03:18 | |
|
Summary
|
|
00:35 | |
|
DbContext Blog Series from Entity Framework Team
|
|
00:21 | |
|
Resources
|
|
00:14 | |
Entity Framework 4.1 Code First Database Initialization |
|
00:39:56 | |
|
Introduction
|
|
00:16 | |
|
Objectives
|
|
00:37 | |
|
Avoding confusion with EF Version Numbers
|
|
00:57 | |
|
Understanding How Code First Find and Connects to a Database
|
|
01:41 | |
|
Specifying Database Name
|
|
01:27 | |
|
Breaking down database initialization
|
|
01:37 | |
|
Built in Database Initializers
|
|
02:25 | |
|
Specifying a Database Initializer
|
|
05:27 | |
|
Pre-populating a database with seed data
|
|
06:27 | |
|
Using connection strings for new or existing databases
|
|
07:39 | |
|
Turning off database initialization
|
|
08:52 | |
|
Taking a quick look at System.Data.Entity Database
|
|
01:38 | |
|
Summary
|
|
00:39 | |
|
Resources
|
|
00:14 |
Entity Framework 4.1 DbContext and DbSet