SmallInt Validator

Richard Green 10 years ago updated by anonymous 6 years ago 2

I have the same issue with the lack of a smallint/short validator as documented in IDB-70. There is mention of a workaround, but no details. Can someone help me out?

Affected Versions:
Fixed by Version:

Try processing each entity on retrieval and have the short value replaced with an integer value.

if (entity.Contains(Key))
  entity.SetValue<IntegerValue>(Key, entity.GetValue<ShortValue>(Key).Value);


Thanks Adam, that resolved this issue