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
|
Hello Is it possible to have a backreference object property set to internal visibility, while the backreference id property is set to public visibility? Regards Bjarne |
|
|
You can't do this in the designer, which only offers one visibility setting for the whole association, but you can do it if you hand-code the property wrappers. To do this, set the association's Generation to FieldOnly, and write the property wrappers in partial class files. (If you're not sure what the property wrappers should look like, look at the generated code before changing the Generation option, or see the LightSpeed user guide. Remember that you will need to write property wrappers at both ends of the association, for the collection at one end and for the backreference and ID at the other end.) |
|
|
OK. Thank you for a quick response :-) |
|