I am attempting to set up my application to use Entity Framework with PostgreSQL, but I have run up against a problem. I have added Npqsql
via nuget, and added
Unfortunately, Npgsql does not have (as of now) automatic schema creation code-first.
You can create your database first, and then connect to it.
Update (2016): Npgsql 3 now implements database creation code-first. Make sure you configure the correct connection factory to use NpgsqlConnection
s, either via code or via the XML settings, and use an appropriate Connection String.