https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/obtaining-a-dbproviderfactory
Provider factory make available globally for non .net core / no nuget way
read here : http://www.npgsql.org/doc/connection-string-parameters.html
Installing npsql to GAC is required in order to run pocogenerator for described here https://github.com/MoonStorm/Dapper.FastCRUD/wiki/Entity-registration#autot4
However, this tool will still not work for postgress sql because there is no SchemaReader implementation for postgress in GenericModelGenerator.tt. This tool only work for sql server
#Workaround . Use npsql's poco generator , works well with .net core 2.0