This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi there, that is my problem: I create a association between two entites and specify the "Column name" to "entityA_entityB_Id" (that is the FK field from EntityA to EntityB). a) Update Database: the field is created as in "Column name" specified. b) Change some setting at the association (f.e.; from not nullable to nullable) and try to update the database. than LS uses "EntityAEntityBId". LS removes the underscores (while the underscores are still present at the "Column name property) and the update fails. The same is true when you try to delete a association. And for whatever reasons - LS tries to create a ThroughAssication each and every time I want to update the Database, while that association table is still present at the database. Kind regards, |
|
|
Thanks for reporting this issue. I've committed a fix for the association column name issue, and it will be included in the next nightly build (7 Apr 2010). Please let us know if you still see problems. I haven't yet managed to reproduce the through association problem but will continue to investigate. In the meantime, converting to an explicit through entity should address the problem (right-click the arrow and choose Convert to Explicit Through Entity). |
|
|
Hello Ivan, thank you very much! The "Column Name" issue is resolved with the latest build. The explicit ThroughEnitiy is working fine regarding to the database schema updates. Can you please explain how I have to use it now. Should I use the ThroughEntity association or the new created explicit ThroughEntity? Kind regards, |
|