Skip to content

DefaultSqlConnections.CreateConnection method

Creates an actual connection based on the provider name. This should not return a wrapped connection.

protected virtual IDbConnection CreateConnection(string connectionString, string providerName, 
    ISqlDialect dialect)
parameter description
connectionString The connection string.
providerName The provider name.
dialect The dialect.

Return Value

A new IDbConnection object.

See Also