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, LightSpeed is throwing an exception when I try to insert an object through a Dynamic Data website when the Entity is a child of another Entity and discriminated by a byte or short property. It works fine if the discriminator is an int but I'd prefer to define smaller data storage requirements when I know there won't ever be many child classes. The exception seems to boil down to this inner exception: Object of type 'System.Int32' cannot be converted to type 'System.Nullable`1[System.Int16]'. at Mindscape.LightSpeed.Model.FieldModel.SetValueSlow(Object , Object ) I can just keep using the int32 workaround for now but I'd like to get our database schema signed off by my manager soon so the fewer temporary workarounds I have to highlight the better :-) Thanks, Chris |
|