Table of Contents

Class EfCoreAggregateDataSource<TMarker>

Namespace
Savvyio.Extensions.DependencyInjection.EFCore.Domain
Assembly
Savvyio.Extensions.DependencyInjection.EFCore.Domain.dll

Provides an implementation of the EfCoreDataSource that is optimized for Domain Driven Design and the concept of Aggregate Root.

public class EfCoreAggregateDataSource<TMarker> : EfCoreAggregateDataSource, IDisposable, IEfCoreDataSource<TMarker>, IEfCoreDataSource, IDataSource<TMarker>, IDataSource, IUnitOfWork<TMarker>, IUnitOfWork, IDependencyInjectionMarker<TMarker>

Type Parameters

TMarker
Inheritance
EfCoreAggregateDataSource<TMarker>
Implements
IDataSource<TMarker>
IUnitOfWork<TMarker>
Inherited Members

Constructors

EfCoreAggregateDataSource(IDomainEventDispatcher, EfCoreDataSourceOptions<TMarker>)

Initializes a new instance of the EfCoreAggregateDataSource class.

public EfCoreAggregateDataSource(IDomainEventDispatcher dispatcher, EfCoreDataSourceOptions<TMarker> options)

Parameters

dispatcher IDomainEventDispatcher

The IDomainEventDispatcher that are responsible for raising domain events.

options EfCoreDataSourceOptions<TMarker>

The EfCoreDataSourceOptions<TMarker> used to configure this instance.

See Also