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
|
Scenario: |
|
|
This issue is not to do with the abstract class, but rather to do with the use of the field as a discriminator. We currently have a limitation where the discriminator must be an Int32 -- it cannot be an enum. To work around this, define LookupType as an Int32. You can make it private so that app code can't poke bad values in there. If app code needs to access the LookupType as an enum, then add the following (in the partial class if you are using the designer): public LookupTypes LookupTypeCode { Thanks for letting us know about the issue with the property name "Key" -- we'll look into it. |
|