wocommunity / wolips

wolips
53 stars 53 forks source link

Flattened attributes don't have a column name #9

Closed nullterminated closed 13 years ago

nullterminated commented 13 years ago

When using flattened FK ids in vertical inheritance, Entity Modeler warns that the flattened attribute's column name is the same as the column name for the pk (assuming you name your pk's id). The reason is that the flattened attibute is returning the prototype's column name (also id in ERPrototypes) as it's own column name. Fixed the getColumnName method on EOAttribute to return null for flattened attributes.