Page 1 of 1

Bug when updating the model from database, Enum property

Posted: Fri 30 Dec 2011 09:17
by crazypit
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.

Posted: Fri 30 Dec 2011 09:29
by crazypit
Also, it changes the Name of the property back to the auto-generated one from the name of the column.

Posted: Thu 05 Jan 2012 17:59
by StanislavK
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.