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
|
I have 2 entity, Receive Class entity
Reply Class entity
I want to one way association, like left join in sql term, I mean, Receive class entity have reply class entity data, but reply class entity data can be null, if not reply, and assigned data if already reply when I save Receive class entity, if Reply class entity have data, it save to database How I can achive with desaigner or code, I try to use desaigner, but it lack documentation about association property, or Field attribute, like ForeignKeyField etc |
|
|
Here is some docs about setting up associations via the designer: http://www.mindscapehq.com/documentation/lightspeed/Creating-Domain-Models/Creating-Models-with-the-Visual-Designer I suspect you will either want a one-to-many association based on how you are describing the relationship above. Keep in mind that all associations are bi-direction so we dont have a "one-way" association as such but you can effectively generate what appears to be a one-way association by setting up a one to many association and then removing the "Collection Name" property from the association (Use a right click -> properties on the association line to find this) which will prevent the entity collection from being exposed on the one side.
|
|