public static SqlDialect GetDialectFor(DbProviderFactory provider, string connectionString) { using (var connection = provider.OpenConnection(connectionString)) { return(GetDialectFor(connection)); } }
public IDbConnection OpenConnection() { var result = _factory.OpenConnection(_connectionString); ConnectionCustomizer?.Invoke(result); return(result); }
public IDbConnection OpenConnection() { return(_factory.OpenConnection(_connectionString)); }