---
title: Entity Framework Core
description: Optional relational persistence for standalone Arc applications.
---


Add relational persistence when your Arc application needs it. The optional `Cratis.Arc.EntityFrameworkCore` package provides context registration, model conversion, and observation without requiring Chronicle or event sourcing. Begin with [getting started](/arc/backend/csharp/entity-framework/getting-started/); registration selects a provider but does not create your schema.

## Topics

| Topic | Description |
| --- | --- |
| [Getting Started](/arc/backend/csharp/entity-framework/getting-started/) | How to configure Entity Framework Core with Arc, including auto-discovery and observation support. |
| [Base DbContext](/arc/backend/csharp/entity-framework/base-db-context/) | How to use the base DbContext class provided by the Arc. |
| [Entity Mapping](/arc/backend/csharp/entity-framework/entity-mapping/) | How to configure entities using IEntityTypeConfiguration&lt;T&gt; for clean, organized entity configuration. |
| [Read Only DbContexts](/arc/backend/csharp/entity-framework/read-only/) | How to implement read-only database contexts for query scenarios. |
| [Automatic Database hookup](/arc/backend/csharp/entity-framework/automatic-database-hookup/) | Provider detection, pooled context registration, and connection-string limits. |
| [Observing DbSet](/arc/backend/csharp/entity-framework/observing/) | How to monitor entity changes in real-time using reactive extensions. |
| [Common Column Types](/arc/backend/csharp/entity-framework/common-column-types/) | Common column type configurations and conventions. |
| [Property Extensions](/arc/backend/csharp/entity-framework/property-extensions/) | Property configuration extensions for cross-database compatibility. |
| [Json](/arc/backend/csharp/entity-framework/json/) | Working with JSON columns and serialization in Entity Framework Core. |
| [Geometry storage paths](/arc/backend/csharp/entity-framework/point-conversion/) | Explicit string conversion versus JSON properties and spatial migration declarations. |
| [Guid conversion](/arc/backend/csharp/entity-framework/guid-conversion/) | SQLite string conversion and migration type differences. |
| [Concept conversion](/arc/backend/csharp/entity-framework/concept-as-conversion/) | Store strongly typed values. |

## Overview

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.
