Entity Framework in the Enterprise
Incorporating Entity Framework into applications that are architected for the enterprise.
Authored by:
Julie Lerman
Duration: 3h 16m
Level: Intermediate
Released: 9/19/2012
Features:
Duration: 3h 16m
Level: Intermediate
Released: 9/19/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 | |
|---|---|---|---|
Architecting the Data Layer (Overview) |
|
00:20:38 | |
|
Introduction
|
|
00:30 | |
|
Objectives
|
|
00:41 | |
|
Demo with Demoware?
|
|
00:46 | |
|
Basic Architectural Footprint when EF is Used
|
|
01:19 | |
|
Before and After Adding a Simple Repository
|
|
09:02 | |
|
Where do LINQ Queries Belong?
|
|
01:37 | |
|
Automated Testing when EF is Involved
|
|
02:41 | |
|
Smaller Contexts using DDD Bounded Context Pattern
|
|
02:47 | |
|
Summary
|
|
00:37 | |
|
Resources
|
|
00:38 | |
Bounded DbContext |
|
00:50:40 | |
|
Introduction
|
|
00:36 | |
|
Objectives
|
|
00:29 | |
|
What is Domain Driven Design?
|
|
01:28 | |
|
What is a Bounded Context?
|
|
01:57 | |
|
Modeling Bounded Contexts in Entity Framework
|
|
04:08 | |
|
Creating Different Definitions of a Domain Class
|
|
04:01 | |
|
Ensuring all the contexts point to the same database
|
|
05:50 | |
|
Considering how coders interact with types in your context
|
|
01:37 | |
|
Understanding and controlling what goes in a model
|
|
04:58 | |
|
Moving objects across contexts
|
|
05:48 | |
|
Database Mappings for Types used in Multiple Contexts
|
|
05:09 | |
|
Database Initialization with Multiple Contexts
|
|
05:06 | |
|
Model Visualization and Reverse Engineering a Database with EF Power Tools
|
|
08:29 | |
|
Summary
|
|
00:46 | |
|
Resources
|
|
00:18 | |
Repositories and Unit of Work |
|
01:00:41 | |
|
Introduction
|
|
00:15 | |
|
Goals
|
|
00:29 | |
|
Repository Overview
|
|
03:27 | |
|
Using a template to create your first repository
|
|
05:18 | |
|
Trying out the new repository
|
|
03:12 | |
|
Creating a more generic repository interface
|
|
02:46 | |
|
Dealing with graphs in disconnected apps
|
|
03:02 | |
|
Understanding how EF handles disconnected graphs
|
|
05:36 | |
|
Preparing your repositories for disconnected graphs
|
|
04:18 | |
|
Determining the state of disconnected entities
|
|
03:20 | |
|
Patterns for success when attaching graphs
|
|
07:45 | |
|
Implementing Unit of Work
|
|
06:30 | |
|
Integrating repositories and UOW with bounded contexts
|
|
09:23 | |
|
Additional considerations when building repostories with EF
|
|
04:12 | |
|
Summary and Resources
|
|
01:08 | |
Automated Testing |
|
01:04:04 | |
|
Introduction
|
|
00:17 | |
|
Objectives
|
|
00:33 | |
|
Overview of Automated Testing
|
|
03:48 | |
|
Interaction Testing with the Database
|
|
05:24 | |
|
Integration Testing with Entity Framework API
|
|
04:47 | |
|
Why use Fakes to Unit Test when EF Intrudes
|
|
05:16 | |
|
Implementing Fake DbSets
|
|
08:40 | |
|
Overview of Abstracting the Context
|
|
02:28 | |
|
Abstracting the Context -- Stage 1
|
|
04:55 | |
|
Abstracting the Context -- Stage 2 for Unit of Work
|
|
05:36 | |
|
Refactoring to have a Single Unit of Work Class
|
|
04:29 | |
|
Testing with Fakes and the new Architecture
|
|
04:16 | |
|
Using Fake Data in Unit Tests
|
|
01:55 | |
|
Using the new Architecture in an MVC Application
|
|
09:33 | |
|
Summary
|
|
01:58 | |
|
Resources
|
|
00:09 |
Architecting the Data Layer (Overview)