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, today after two weeks' exploring of Expression version (finding if LightSpeed fits my needs) I have bought a Pro version and I'm excited. But I have a question. Is it to possible to do a one-to-none/one-to-zero association? I have a Customer and I have a User (user of a system). Is there a better way than define User Defined Type of User (with CRL Type Name of generated User) and then associate it with a property? Is that way even safe to do?
Thanks, Jirka from Czech Rep. |
|
|
Hi Jirka, It sounds like what you're describing is simply a one-to-one relationship which is nullable in one direction, i.e. a User can be associated with one or zero customers. This is fully supported by LightSpeed. If you really want the User not to even have a Customer property, that is sort of possible. LightSpeed requires that the relationship exist in both directions, but does not require it to be public. So you could have a private User._customer field but no public Customer property. However this is not currently supported by the designer so you would need to manually implement the relationship in this case. |
|