Page 1 of 1

Guid when using postgresql

Posted: Tue 19 Feb 2013 06:09
by Mikkeli
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

Re: Guid when using postgresql

Posted: Wed 20 Feb 2013 13:10
by Shalex
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.

Re: Guid when using postgresql

Posted: Thu 28 Feb 2013 17:37
by Shalex
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.