Table of Contents

IPersistentDataStore<T, TOptions, TMarker> Interface

Definition

Namespace
Savvyio.Extensions.DependencyInjection.Data
Assemblies
Savvyio.Extensions.DependencyInjection.dll
Source
src/Savvyio.Extensions.DependencyInjection/Data/IPersistentDataStore.cs

Defines a generic way to support multiple implementations of the actual I/O communication with a data store that is responsible of persisting data (CRUD).

public interface IPersistentDataStore<T, out TOptions, TMarker> : IPersistentDataStore<T, TOptions>, IWritableDataStore<T, TMarker>, IWritableDataStore<T>, IReadableDataStore<T, TMarker>, IReadableDataStore<T>, ISearchableDataStore<T, TOptions, TMarker>, ISearchableDataStore<T, TOptions>, IDeletableDataStore<T, TMarker>, IDataStore<T, TMarker>, IDependencyInjectionMarker<TMarker>, IDeletableDataStore<T>, IDataStore<T> where T : class where TOptions : AsyncOptions, new()

Type Parameters

T

The type of the DTO.

TOptions

The type of the options associated with this DTO.

TMarker

The type used to mark the implementation that this data access object represents. Optimized for Microsoft Dependency Injection.

Inherited Members

See Also

IPersistentDataStore<T, TOptions>
IWritableDataStore<T, TMarker>
IReadableDataStore<T, TMarker>
ISearchableDataStore<T, TOptions, TMarker>
IDeletableDataStore<T, TMarker>