Skip to main content
Table of Contents

Interface ITenantScopedDbContext

Namespace
Stratara.EventSourcing.EntityFrameworkCore.Abstractions
Assembly
Stratara.EventSourcing.EntityFrameworkCore.dll

Implemented by DbContexts that carry an ambient tenant id used to install global query filters on entities that implement IMultiTenant.

public interface ITenantScopedDbContext
Extension Methods

Properties

TenantId

Gets the data-owner tenant id the context is scoped to.

Guid TenantId { get; }

Property Value

Guid