Table of Contents

Class EfCoreDataStore<T, TMarker>

Namespace
Savvyio.Extensions.DependencyInjection.EFCore
Assembly
Savvyio.Extensions.DependencyInjection.EFCore.dll

Provides a default implementation of the IPersistentDataStore<T, TOptions, TMarker> interface to support multiple implementations that serves as an abstraction layer before the actual I/O communication with a source of data using Microsoft Entity Framework Core.

public class EfCoreDataStore<T, TMarker> : EfCoreDataStore<T>, IPersistentDataStore<T, EfCoreQueryOptions<T>, TMarker>, IPersistentDataStore<T, EfCoreQueryOptions<T>>, IWritableDataStore<T, TMarker>, IWritableDataStore<T>, IReadableDataStore<T, TMarker>, IReadableDataStore<T>, ISearchableDataStore<T, EfCoreQueryOptions<T>, TMarker>, ISearchableDataStore<T, EfCoreQueryOptions<T>>, IDeletableDataStore<T, TMarker>, IDataStore<T, TMarker>, IDependencyInjectionMarker<TMarker>, IDeletableDataStore<T>, IDataStore<T> where T : class

Type Parameters

T

The type of the DTO.

TMarker

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

Inheritance
EfCoreDataStore<T, TMarker>
Implements
IWritableDataStore<T, TMarker>
IReadableDataStore<T, TMarker>
IDataStore<T, TMarker>
Inherited Members

Constructors

EfCoreDataStore(IEfCoreDataSource<TMarker>)

Initializes a new instance of the EfCoreDataStore<T, TMarker> class.

public EfCoreDataStore(IEfCoreDataSource<TMarker> source)

Parameters

source IEfCoreDataSource<TMarker>

The IEfCoreDataSource<TMarker> that handles actual I/O communication with a source of data.

See Also

EfCoreDataStore<T, TMarker>
IPersistentDataStore<T, TOptions, TMarker>