Header menu logo Nao

IDbConnectionFactory Type

Provider-agnostic factory that creates ADO.NET connections. The persistence layer never references a concrete database provider — callers supply a factory backed by any provider (Microsoft.Data.Sqlite, Npgsql, Microsoft.Data.SqlClient, MySqlConnector, ...). This keeps a single unified implementation that works against any ADO.NET-compatible database.

Instance members

Instance member Description

this.Create

Full Usage: this.Create

Returns: DbConnection
Modifiers: abstract

Create a brand new (closed) connection.

Returns: DbConnection

Type something to start searching.