Table of Contents

Interface IUnitOfWork

Namespace
Savvyio.Domain
Assembly
Savvyio.Core.dll

Defines a transaction that bundles multiple IRepository<TEntity, TKey> calls into a single unit.

public interface IUnitOfWork

Methods

SaveChangesAsync(Action<AsyncOptions>)

Saves the different IRepository<TEntity, TKey> implementations as one transaction towards a data store asynchronous.

Task SaveChangesAsync(Action<AsyncOptions> setup = null)

Parameters

setup Action<AsyncOptions>

The AsyncOptions which may be configured.

Returns

Task

A System.Threading.Tasks.Task that represents the asynchronous operation.