Table of Contents

Interface IRepository<TEntity, TKey, TMarker>

Namespace
Savvyio.Extensions.DependencyInjection.Domain
Assembly
Savvyio.Extensions.DependencyInjection.dll

Defines a generic way to support multiple implementations of persistent data access based on the Repository pattern.

public interface IRepository<in TEntity, TKey, TMarker> : IRepository<TEntity, TKey>, IDependencyInjectionMarker<TMarker> where TEntity : class, IIdentity<TKey>

Type Parameters

TEntity

The type of the entity.

TKey

The type of the key that uniquely identifies the entity.

TMarker

The type used to mark the implementation that this repository represents. Optimized for Microsoft Dependency Injection.

See Also

IDependencyInjectionMarker<TMarker>
IRepository<TEntity, TKey>