Quantcast
Channel: Mapping an int Enum to Numeric(9, 0) or Number(9, 0) - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by KeithS for Mapping an int Enum to Numeric(9, 0) or Number(9, 0)

Try using the CustomType and CustomSqlType specifiers:public class UserHeaderMap:ClassMap<UserHeader>{ public UserHeaderMap() { ......

View Article



Mapping an int Enum to Numeric(9, 0) or Number(9, 0)

I have a mapping that I'm not quite sure how to do. I have a table that has a Numeric(9,0) column with possible values of 0-3. I'd like to represent this as an enumeration within my entity but there...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images