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
TEntityThe type of the entity.
TKeyThe type of the key that uniquely identifies the entity.
TMarkerThe type used to mark the implementation that this repository represents. Optimized for Microsoft Dependency Injection.
See Also
IDependencyInjectionMarker<TMarker>
IRepository<TEntity, TKey>