IUnitOfWorkAsync Interface |
Namespace: AccidentalFish.ApplicationSupport.Core.Repository
The IUnitOfWorkAsync type exposes the following members.
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
GetRepositoryT |
Retrieve a repository that acts within the unit of work
| |
GetRepositoryAsyncT | Obsolete.
Retrieve a repository that acts within the unit of work
| |
OptimisticRepositoryWinsUpdateAsync(Action) |
Using an optimistic concurrency approach attempt to perform the supplied actions within the unit of work saving the changes.
This will retry until it succeeds.
(Concurrency issues are detected via the DbUpdateConcurrencyException exception).
| |
OptimisticRepositoryWinsUpdateAsync(Action, Int32) |
Using an optimistic concurrency approach attempt to perform the supplied actions within the unit of work saving the changes.
This will retry maxRetries times.
(Concurrency issues are detected via the DbUpdateConcurrencyException exception).
| |
SaveAsync |
Save the changes made within the unit of work
|