nhibernate fluent bool to smallint mapping
Posted
by Raul
on Stack Overflow
See other posts from Stack Overflow
or by Raul
Published on 2010-06-15T10:27:17Z
Indexed on
2010/06/15
11:12 UTC
Read the original article
Hit count: 324
In my application I have a bool property named DisplayIndicator. In the database (DB2) it's correspondence is DISPL_IND column of type smallint. The correspondence is the following: [DisplayINdicator=True, DISPL_IND=1] and [DisplayINdicator=False, DISPL_IND=0] Is it possible to map using nhibernate fluence the bool property to smallint?
© Stack Overflow or respective owner