Guid when using postgresql

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
Mikkeli
Posts: 2
Joined: Tue 19 Feb 2013 05:59

Guid when using postgresql

Post by Mikkeli » Tue 19 Feb 2013 06:09

When i try to
Generate Database Script from model...
and
Update database from model
Guid is mapped to varchar(36)when target is postgresql

How I change it to uuid

In server option there is uuid for Guid

I use Devart Entity Developer 5.0.43.0 and fluent nhibernate template

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

Re: Guid when using postgresql

Post by Shalex » Wed 20 Feb 2013 13:10

The behaviour is changed: the Guid property is mapped to the UUID type in the database when using the Model First approach. We will notify you when the corresponding build of Entity Developer is available for download.

As a workaround, please open Column Editor of the property and set its SQL Type to UUID manually. In this case, don't check the Regenerate Storage option in Update To Database/Generate Database Script wizards.

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

Re: Guid when using postgresql

Post by Shalex » Thu 28 Feb 2013 17:37

New build of Entity Developer 5.0.56 is available!
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=26093.

Post Reply