Enums and SmallInt


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
I was having trouble getting an enum type to work properly on one of my business objects.  The DB type was smallint.  I kept getting 'specified cast is invalid'.  Of course, I kept thinking I was doing something wrong.  Then, on a whim, I changed the DB type from smallint (int16) to int (int32) and the enum type now works without errors.

Can someone please confirm that a smallint data type will not work with enumerations in StrataFrame? 

Thanks,
Bill

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Bill Cunnien - 17 Years Ago
Trent L. Taylor - 17 Years Ago
             Excellent! Thank you!!
Bill Cunnien - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search