Interface IDeletableDataStore<T>
- Namespace
- Savvyio.Data
- Assembly
- Savvyio.Core.dll
Defines a generic way of abstracting deletable data access objects (cruD).
public interface IDeletableDataStore<in T> : IDataStore<T> where T : class
Type Parameters
T
The type of the DTO.
Methods
DeleteAsync(T, Action<AsyncOptions>)
Deletes the specified dto
asynchronous.
Task DeleteAsync(T dto, Action<AsyncOptions> setup = null)
Parameters
dto
TThe object to delete.
setup
Action<AsyncOptions>The AsyncOptions which may be configured.
Returns
- Task
A System.Threading.Tasks.Task that represents the asynchronous operation.
See Also
IDataStore<T>