Renamed db columns aren't auto-renamed in entities

Posts   
 
    
tmpcl
User
Posts: 20
Joined: 21-Sep-2006
# Posted on: 20-Jul-2010 17:28:08   

Running 3.0 Final of the designer to reverse engineer the database.

I've found that at times a renamed DB column does not automatically get reflected in the mapped entity and other times it does.

I thought that maybe saving the project refreshed the list because I've had intermittent success with that. I'm thinking that maybe it's not the save that does it.

My current set up has a mapped entity that is below a group and has the same name as the table.

If a DB column name or type changes and I refresh the model how do I get the changes to reflect in the mapped entity?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39612
Joined: 17-Aug-2003
# Posted on: 20-Jul-2010 20:33:38   

PLease check your 'sync*' settings in the project properties of your project, whether renamed elements are indeed supposed to be renamed due to the setting values you've set.

Frans Bouma | Lead developer LLBLGen Pro
tmpcl
User
Posts: 20
Joined: 21-Sep-2006
# Posted on: 20-Jul-2010 21:12:11   

They were all set to "default". Not quite sure what the "default" value assumes true or false.

I set the two sync* entries to true so hopefully more consistant results will follow.

Thanks for the quick reply!

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 20-Jul-2010 21:51:22   

We aim to please simple_smile

Matt