Skip to main content
Table of Contents

Namespace Stratara.EventSourcing.EntityFrameworkCore.ReadStore

Classes

ProjectionsUnitOfWork<TDbContext>

Read-side unit of work for projection writers — extends ReadUnitOfWork<TDbContext> with factory methods for projection-specific repositories such as ITenantRepository.

ReadDbContext<TContext>

Base read-store DbContext that consumer DbContexts derive from. Hosts the projection / read-model tables that the projection workers write into and queries read from.

ReadUnitOfWork<TDbContext>

Read-side unit of work over an IReadDbContext. Used directly by query handlers that do not need projection-specific repositories — projection writers should use ProjectionsUnitOfWork<TDbContext> instead.

Interfaces

IReadStoreMarker

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