Skip to content

Entity Framework Core

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

TopicDescription
Getting StartedHow to configure Entity Framework Core with Arc, including auto-discovery and observation support.
Base DbContextHow to use the base DbContext class provided by the Arc.
Entity MappingHow to configure entities using IEntityTypeConfiguration<T> for clean, organized entity configuration.
Read Only DbContextsHow to implement read-only database contexts for query scenarios.
Automatic Database hookupHow the Arc automatically configures and sets up your databases.
Observing DbSetHow to monitor entity changes in real-time using reactive extensions.
Common Column TypesCommon column type configurations and conventions.
Property ExtensionsProperty configuration extensions for cross-database compatibility.
JsonWorking with JSON columns and serialization in Entity Framework Core.

The Entity Framework Core integration in the Arc 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.