Esempio n. 1
0
 public static SqlDialect GetDialectFor(DbProviderFactory provider, string connectionString)
 {
     using (var connection = provider.OpenConnection(connectionString))
     {
         return(GetDialectFor(connection));
     }
 }
Esempio n. 2
0
        public IDbConnection OpenConnection()
        {
            var result = _factory.OpenConnection(_connectionString);

            ConnectionCustomizer?.Invoke(result);
            return(result);
        }
 public IDbConnection OpenConnection()
 {
     return(_factory.OpenConnection(_connectionString));
 }