Interface IRepository<TEntity, TKey>
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.