Table of Contents

Constructor DbConnectionFactory

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Core.dll

DbConnectionFactory(Func<IDbConnection>)

Constructs a DbConnectionFactory from a factory function.

protected DbConnectionFactory(Func<IDbConnection> factory)

Parameters

factory Func<IDbConnection>

The function that creates a new connection each time it is called.

Exceptions

ArgumentNullException

factory is null.