DefaultSqlConnections.CreateConnection method

namespace: Serenity.Data   assemblySerenity.Net.Data

Creates an actual connection based on providerName, this should not return a wrapped connection.

protected virtual IDbConnection CreateConnection(string connectionString, string providerName, 
    ISqlDialect dialect)
parameter description
connectionString Connection string
providerName Provider name
dialect Dialect

Return Value

A new IDbConnection object.

See Also