public static DbSourceGatewayBase CreateGateway(this DatabaseSource databaseSource)
        {
            Argument.IsNotNull(() => databaseSource);

            var dbProvider = databaseSource.GetProvider();

            return(dbProvider?.CreateDbSourceGateway(databaseSource));
        }
        public static DbConnection CreateConnection(this DatabaseSource databaseSource)
        {
            Argument.IsNotNull(() => databaseSource);

            var provider = databaseSource.GetProvider();

            return(provider?.CreateConnection(databaseSource));
        }