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
|
This is just a dummy "model" Today codegen make this code: Project private System.Nullable<int> _customerId; [ReverseAssociation("ProjectsCustomer")] User [ReverseAssociation("Customer")]
Could it do this (or something) instead on the User entity? [ReverseAssociation("Customer")] |
|
|
This occurs because the model generator primarily targets the interactive designer, where it is desirable to create (invalid) duplicate names so that the developer is alerted to the ambiguity and is forced to choose meaningful names, such as "ProjectsLed" or "LedProjects" rather than "ProjectsProjectLeader" or "Projects1" or whatever. However this obviously doesn't work very well for the command-line generator. I'll take a look at this and see what we can do. |
|
|
This will be included in nightly builds dated 12 May 2009 and above. Please let us know if you run into any problems. |
|
|
Thanks! |
|