Skip to main content
Table of Contents

Namespace Stratara.EventSourcing.EntityFrameworkCore.WriteStore

Classes

WriteDbContext<TContext>

Base write-store DbContext that consumer DbContexts derive from. Hosts the event-sourcing tables — event_stream_entry, snapshot, command_log_entry, and outbox_entry — that the command, hashing, and outbox workers persist into.

WriteUnitOfWork<TDbContext>

Write-side unit of work that mints repositories for the event-sourcing tables — IEventStreamRepository, IEventChainRepository, ISnapshotRepository, ICommandAuditRepository, and IOutboxRepository — all sharing the same EF Core transaction.

Interfaces

IWriteStoreMarker

Assembly marker for the write-store namespace. Used by WriteDbContext<TContext> to scope ApplyConfigurationsFromAssembly to only the write-store IEntityTypeConfiguration<> implementations — required because the same assembly also hosts the read-store and identity-store configurations.