Hi Wagner,
I'm not sure if I understand what you are trying to ask.
My problem is that FManager.FindAll<TLocation> only looks for ones where the DiscriminatorColumn is null. It doesn't add onto the where clause the other values like it does in the example.
It looks like a typical problem of linker removing classes. Have you used the inherited classes somewhere in your application? If not, Delphi linker will remove then and Aurelius will think you only have the base class.
Your answer sounded like the answer but sadly it isn't. I've put it in a unit test and tried using the other objects doing the following but still not getting anywhere
I don't see any problem at all. Must be something else. Have you tried to add a discriminator value to root class just in case?
Well, in a real environment you would use the classes anyway. Thanks for the feedback.Wagner Landgraf2014-10-08 11:14:37