Table of Contents

IReadableRepository<TEntity, TKey> Interface

Definition

Namespace
Savvyio.Domain
Assemblies
Savvyio.Core.dll
Source
src/Savvyio.Core/Domain/IReadableRepository.cs

Defines a generic way of abstracting readable repositories (cRud).

public interface IReadableRepository<TEntity, TKey> : IRepository<TEntity, TKey> where TEntity : class, IIdentity<TKey>

Type Parameters

TEntity

The type of the entity.

TKey

The type of the key that uniquely identifies the entity.

Methods

Name Description
GetByIdAsync(TKey, Action<AsyncOptions>)

Loads the entity from the specified id asynchronous.

See Also

IRepository<TEntity, TKey>