When you asked the question, I think the answer would be no. The answer is probably not relevant to you now, but for others ...
Now I have to say that the answer is yes . I have an MVC3 project (then upconverted to MVC4) that uses the first code entity structure and npgsql.
I used EF6b2 and npgsql 2.0.12.
Setting the EntityFramework web.config section, the DbProviderFactories section, and the connection string correctly was the part that she worked with. I also included security dlls and npgsql in the project.
See fooobar.com/questions/778391 / ...
source share