main
 1using System.Data.Common;
 2
 3namespace gorilla.migrations.data
 4{
 5    public class SqlDatabaseGatewayFactory : DatabaseGatewayFactory
 6    {
 7        public DatabaseGateway gateway_to(string connection_string, string database_provider)
 8        {
 9            return new SqlDatabaseGateway(new SqlDatabaseCommandFactory(DbProviderFactories.GetFactory(database_provider), connection_string));
10        }
11    }
12}