Table of Contents

IAggregateRepository<TEntity, TKey> Interface

Definition

Namespace
Savvyio.Domain
Assemblies
Savvyio.Core.dll
Source
src/Savvyio.Core/Domain/IAggregateRepository.cs

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>