Skip to content

DefaultSqlConnections.New method

Creates a new IDbConnection for the given connection string, provider name, and dialect.

public virtual IDbConnection New(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