Bug when updating the model from database, Enum property

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
crazypit
Posts: 163
Joined: Wed 15 Apr 2009 08:43

Bug when updating the model from database, Enum property

Post by crazypit » Fri 30 Dec 2011 09:17

Hello,

Using the latest Entity Developer, when updating the Model from Database in an Oracle system, and a minor change for an Enum property is propagated, the Entity looses the assigned Enum Type and changes back to the original Boolean type for a NUMBER(1) server type. E.g. I have a NUMBER(1) column and i set the type of the relevant property in Entity Developer to a custom Enum i created and maintained. Afterwords, i had to change the Default value of the column from none to '1'. I try to Update Model from Database and Entity Developer correctly recognizes the change. Nevertheless, it looses the Enum type already set and it changes my property type back to System.Boolean.

crazypit
Posts: 163
Joined: Wed 15 Apr 2009 08:43

Post by crazypit » Fri 30 Dec 2011 09:29

Also, it changes the Name of the property back to the auto-generated one from the name of the column.

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Thu 05 Jan 2012 17:59

Thank you for the report, this is a known peculiarity of the Entity Developer behaviour. If any property of a column is modified, all of its properties are updated when running the wizard. We plan to change this behaviour, but cannot provide any timeframe at the moment.

Post Reply