Interface IRepository<T>
- Namespace
- KYS.EFCore.Library
- Assembly
- KYS.EFCore.Library.dll
Base interface for repositories of an aggregate root.
public interface IRepository<T> where T : IAggregateRoot
Type Parameters
TThe type of the aggregate root.
Properties
UnitOfWork
Gets the unit of work used to save the changes made through this repository.
IUnitOfWork UnitOfWork { get; }