Bug when updating the model from database, Enum property
Posted: 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.
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.