In my MySql database table, one column "is_active" is defined as char and it 
only contains values '0' or '1'.  So in my business model, I'd like to 
declare a property IsActive as a bool.
 
But then how do I do the mapping?
 
I tried Map(x=>x.IsActive).Column("is_active"), but this won't work since 
column ("is_active") is char and x.IsActive is bool.  
 
Any hint?  Thank you very much.  I've been googling this for days, but can't 
find much helpful info. Thanks a lot!

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/l1Aj-Uz8RjkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to