New to MVC

New to MVC

Postby 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
rjpajaron
 
Posts: 1
Joined: Tue 16 Jun 2015 23:26

Re: New to MVC

Postby 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/postgresql/docs/Identity-2-Tutorial.html (or https://www.devart.com/dotconnect/postgresql/docs/Identity-2-Tutorial-Entity.html ).
Pure EF6: http://blog.devart.com/entity-framework-6-support-for-oracle-mysql-postgresql-sqlite-and-salesforce.html.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for PostgreSQL