Table of Contents

Class DapperDataSource<TMarker>

Namespace
Savvyio.Extensions.DependencyInjection.Dapper
Assembly
Savvyio.Extensions.DependencyInjection.Dapper.dll

Provides a default implementation of the IDapperDataSource<TMarker> interface to support the actual I/O communication with a source of data using Dapper.

public class DapperDataSource<TMarker> : DapperDataSource, IDapperDataSource<TMarker>, IDapperDataSource, IDbConnection, IDisposable, IDataSource<TMarker>, IDataSource, IDependencyInjectionMarker<TMarker>

Type Parameters

TMarker

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

Inheritance
DapperDataSource<TMarker>
Implements
IDataSource<TMarker>
Inherited Members

Constructors

DapperDataSource(DapperDataSourceOptions<TMarker>)

Initializes a new instance of the DapperDataSource<TMarker> class.

public DapperDataSource(DapperDataSourceOptions<TMarker> options)

Parameters

options DapperDataSourceOptions<TMarker>

The DapperDataSourceOptions<TMarker> used to configure this instance.

Exceptions

ArgumentNullException

options cannot be null.

ArgumentException

options are not in a valid state.

See Also