Interface IDbConnectionFactory
- Namespace
- Fdyay.IdentityServer.Dapper.Sql
- Assembly
- Fdyay.IdentityServer.Dapper.dll
Creates open database connections for the configured provider.
public interface IDbConnectionFactory
Properties
Dialect
The SQL dialect for the configured provider.
ISqlDialect Dialect { get; }
Property Value
Methods
OpenConnectionAsync(CancellationToken)
Opens a new connection.
Task<DbConnection> OpenConnectionAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken