Table of Contents

IRepository<TEntity, TKey> Interface

Definition

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

A marker interface that specifies an abstraction of data persistence based on the Repository pattern.

public interface IRepository<in 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.