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 there,
When setting up a Class Table Inheritance hierarchy in LightSpeed does the 'Discriminator' property (in the Inheritance section) on an any of the entities need to be set to anything? So far I've set up the Discriminator Name, Type and Value and the Inheritance Type on the inheritance associations, and also the 'Base Class' property on each derived type, but am wondering if I have to do anything with these Discriminator properties on any of the entities.
Ta, Alan |
|
|
No, you don't. The things that matter are the Discriminator properties on the inheritance arrows. The Discriminator property on an entity is a helper that saves you a bit of typing by initialising the inheritance arrows for you: it has no further significance, all that matters is what ends up on the arrows. What you've done should be all that's needed. Sorry this is confusing! |
|
|
Sweet. Thank you Ivan. |
|