Table of Contents

EfCoreAggregateDataSource Constructor

Definition

Namespace
Savvyio.Extensions.EFCore.Domain
Assemblies
Savvyio.Extensions.EFCore.Domain.dll
Source
src/Savvyio.Extensions.EFCore.Domain/EfCoreAggregateDataSource.cs

EfCoreAggregateDataSource(IDomainEventDispatcher, DbContext)

Initializes a new instance of the EfCoreAggregateDataSource class.

protected EfCoreAggregateDataSource(IDomainEventDispatcher dispatcher, DbContext dbContext)

Parameters

dispatcher IDomainEventDispatcher

The IDomainEventDispatcher that are responsible for raising domain events.

dbContext DbContext

The DbContext to associate with this data store.

EfCoreAggregateDataSource(IDomainEventDispatcher, EfCoreDataSourceOptions)

Initializes a new instance of the EfCoreAggregateDataSource class.

public EfCoreAggregateDataSource(IDomainEventDispatcher dispatcher, EfCoreDataSourceOptions options)

Parameters

dispatcher IDomainEventDispatcher

The IDomainEventDispatcher that are responsible for raising domain events.

options EfCoreDataSourceOptions

The EfCoreDataSourceOptions used to configure this instance.