Skip to main content
Table of Contents

Interface IProjectionsUnitOfWork

Namespace
Stratara.Projections
Assembly
Stratara.Projections.dll

Read-side unit-of-work used by projections to access the projection read store. Extends IReadUnitOfWork with factory methods for the repositories that live in this package.

public interface IProjectionsUnitOfWork : IReadUnitOfWork, IUnitOfWork
Inherited Members
Extension Methods

Methods

CreateTenantRepository(ITransaction)

Creates an ITenantRepository bound to the supplied read transaction.

ITenantRepository CreateTenantRepository(ITransaction transaction)

Parameters

transaction ITransaction

An active read transaction obtained from StartAsync(CancellationToken).

Returns

ITenantRepository