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, Is it possible to generate some ThroughAssociations with the lsgen tool. For some reasons, at my job, we decided to use the lsgen tool instead of the visual model designer because with the lsgen tool while generating one class per class, we reduce our chances to have conflicts when commiting to our svn repository. I created a tool for sending command line to the lsgen tool and in this tool, I also created a parser that used a home made database mapping file to dynamically insert Aggregates. The next step is generating ThroughAssociation but the code looks like more complicated. Have you some information for me helping resolving this problem? Thank you. Your time is greatly appreciate. |
|
|
No unfortunately this is not something that the tool can infer itself. With the designer we have extra information stored against the model which we then use to add the detail for the ThroughAssociations themselves. My suggestion would be to store some metadata for generation purposes about which entities are connected via ThroughAssociations and then use that to generate the corresponding code - the entities themselves with otherwise be set up for you from the database extract from lsgen.
|
|