Interface IAggregateRepository<TEntity, TKey>
- Namespace
- Savvyio.Domain
- Assembly
- Savvyio.Core.dll
Defines a generic way of abstracting persistent repositories (CRUD) that is optimized for Domain Driven Design.
public interface IAggregateRepository<TEntity, TKey> : IPersistentRepository<TEntity, TKey>, IWritableRepository<TEntity, TKey>, IReadableRepository<TEntity, TKey>, ISearchableRepository<TEntity, TKey>, IDeletableRepository<TEntity, TKey>, IRepository<TEntity, TKey> where TEntity : class, IAggregateRoot<IDomainEvent, TKey>
Type Parameters
TEntity
The type of the entity.
TKey
The type of the key that uniquely identifies the entity.
- Inherited Members
See Also
IPersistentRepository<TEntity, TKey>