Table of Contents

Interface IWritableDataStore<T>

Namespace
Savvyio.Data
Assembly
Savvyio.Core.dll

Defines a generic way of abstracting writable data access objects (CrUd).

public interface IWritableDataStore<in T> : IDataStore<T> where T : class

Type Parameters

T

The type of the DTO.

Methods

CreateAsync(T, Action<AsyncOptions>)

Creates the specified dto asynchronous.

Task CreateAsync(T dto, Action<AsyncOptions> setup = null)

Parameters

dto T

The object to create.

setup Action<AsyncOptions>

The AsyncOptions which may be configured.

Returns

Task

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

UpdateAsync(T, Action<AsyncOptions>)

Updates the specified dto asynchronous.

Task UpdateAsync(T dto, Action<AsyncOptions> setup = null)

Parameters

dto T

The object to update.

setup Action<AsyncOptions>

The AsyncOptions which may be configured.

Returns

Task

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

See Also