Entity Framework Model Partitioning in Domain-Driven Design Bounded Contexts
Play Entity Framework Model Partitioning in Domain-Driven Design Bounded Contexts
Bounded Context is one of the most critical patterns in Domain-Driven Design (DDD). While you shouldn't have to worry about your data persistence while you are modeling your domain, it is still worrisome to follow DDD patterns not knowing how you'll get your ORM to fall in line when it's time to implement the data layer. Entity Framework sample solutions have a long history of creating one huge model to map to one huge database to satisfy all of the needs of your application. In this session we look at patterns using Entity Framework that will support not only multiple bounded contexts in your software but even those areas that are satisfied with pure CRUD logic. You also see patterns to bridge the divides between those bounded contexts when implementing the data persistence with Entity Framework.