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
|
Consider the following code:
The first time I access the database, I get the following error:
I can add Discriminator attribute to IssuedSecurityToken, but it seems rather superfluous since IssuedSecurityToken is abstract. Just curious why this requirement exists. Thanks, Werner |
|
|
The honest answer is that the chap who wrote the inheritance subsystem back in 2007 didn't make an exclusion for abstract classes, and the issue has never previously come up! I'm pretty sure we could safely skip the discriminator check for abstract classes, and I'll log a bug for it -- thanks for drawing it to our attention! |
|