Table of Contents

Entity Framework Core

The Application Model provides enhanced support for Entity Framework Core, offering simplified configuration, automatic database setup, and common patterns for working with EF Core in your applications.

Topics

Topic Description
Base DbContext How to use the base DbContext class provided by the Application Model.
Entity Mapping How to configure entities using IEntityMapFor<T> for clean, organized entity configuration.
Read Only DbContexts How to implement read-only database contexts for query scenarios.
Automatic Database hookup How the Application Model automatically configures and sets up your databases.
Common Column Types Common column type configurations and conventions.
Property Extensions Property configuration extensions for cross-database compatibility.
Json Working with JSON columns and serialization in Entity Framework Core.

Overview

The Entity Framework Core integration in the Application Model streamlines database operations by providing sensible defaults, automatic configuration, and patterns that work well with CQRS architecture. Whether you're working with read-write or read-only contexts, the framework handles the complexity of setup and configuration while giving you the flexibility to customize when needed.