namespace: Serenity.Data assembly: Serenity.Net.Data
Creates a new IDbConnection for given connection string, provider name and dialect.
public virtual IDbConnection New(string connectionString, string providerName, ISqlDialect dialect)
parameter | description |
---|---|
connectionString | Connection string |
providerName | Provider name |
dialect | Dialect |
A new IDbConnection object.
- interface ISqlDialect
- class DefaultSqlConnections