SaveChangesAsync Method
Definition
- Namespace
- Savvyio.Extensions.EFCore.Domain
- Assemblies
- Savvyio.Extensions.EFCore.Domain.dll
SaveChangesAsync(Action<AsyncOptions>)
Saves the different IRepository<TEntity, TKey> implementations as one transaction towards a data store asynchronous.
public override Task SaveChangesAsync(Action<AsyncOptions> setup = null)
Parameters
setupAction<AsyncOptions>The AsyncOptions which may be configured.
Returns
Remarks
Will, just before SaveChangesAsync(CancellationToken) is called, extract and call RaiseAsync(IDomainEvent, Action<AsyncOptions>) for all aggregate roots contained within the backing DbContext.