Table of Contents

Interface IEntityRepositoryAccessor

Namespace
GroupeIsa.Neos.Domain.Persistence
Assembly
GroupeIsa.Neos.Domain.Abstractions.dll

Resolves the concrete repository of a business entity instance, including for base/abstract entity types.

public interface IEntityRepositoryAccessor

Methods

GetRepository(BusinessEntity)

Gets the repository handling the runtime type of the given entity (or one of its base types).

IRepository? GetRepository(BusinessEntity entity)

Parameters

entity BusinessEntity

The entity instance.

Returns

IRepository

The repository, or null when none is registered.