New to MVC

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
rjpajaron
Posts: 1
Joined: Tue 16 Jun 2015 23:26

New to MVC

Post by rjpajaron » Tue 16 Jun 2015 23:32

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

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: New to MVC

Post by Shalex » Tue 23 Jun 2015 10:32

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.

Post Reply