Page 1 of 1

New to MVC

Posted: Tue 16 Jun 2015 23:32
by rjpajaron
Hello,

Do you have fully tuned to dotConnect for Pgsql "MVCMusicStore" sample http://mvcmusicstore.codeplex.com/

I want to study MVC implementation using PgSQL.

Thanks,

Rene

Re: New to MVC

Posted: Tue 23 Jun 2015 10:32
by Shalex
The usage of dotConnect for PostgreSQL EF provider is pretty much the same comparing to a standard Microsoft provider. Just add the Devart.* assemblies (Devart.Data.dll, Devart.Data.PostgreSql.dll, Devart.Data.PostgreSql.Entity.dll) in your project and use the Devart.Data.PostgreSql provider namespace.

The tutorial uses MVC 3 / Entity Framework 4: are you going to stay with these versions of MVC/EF? In this case use Devart.Data.PostgreSql.Entity.dll from the "C:\Program Files (x86)\Devart\dotConnect\PostgreSQL\Entity\EF4\" folder.

The latest versions (MVC5/EF6) require some additional settings: https://www.devart.com/dotconnect/postg ... orial.html (or https://www.devart.com/dotconnect/postg ... ntity.html ).
Pure EF6: http://blog.devart.com/entity-framework ... force.html.