Class EfCoreDataSource<TMarker>
- Namespace
- Savvyio.Extensions.DependencyInjection.EFCore
- Assembly
- Savvyio.Extensions.DependencyInjection.EFCore.dll
Provides a default implementation of the IEfCoreDataSource<TMarker> interface to support multiple implementations that does the actual I/O communication with a source of data using Microsoft Entity Framework Core.
public class EfCoreDataSource<TMarker> : EfCoreDataSource, IDisposable, IEfCoreDataSource<TMarker>, IEfCoreDataSource, IDataSource<TMarker>, IDataSource, IUnitOfWork<TMarker>, IUnitOfWork, IDependencyInjectionMarker<TMarker>
Type Parameters
TMarkerThe type used to mark the implementation that this data store represents. Optimized for Microsoft Dependency Injection.
- Inheritance
-
EfCoreDataSource<TMarker>
- Implements
-
IEfCoreDataSource<TMarker>IDataSource<TMarker>IUnitOfWork<TMarker>IDependencyInjectionMarker<TMarker>
- Inherited Members
Constructors
EfCoreDataSource(EfCoreDataSourceOptions<TMarker>)
Initializes a new instance of the EfCoreDataSource<TMarker> class.
public EfCoreDataSource(EfCoreDataSourceOptions<TMarker> options)
Parameters
optionsEfCoreDataSourceOptions<TMarker>The EfCoreDataSourceOptions<TMarker> used to configure this instance.
See Also
IEfCoreDataSource<TMarker>