You can't derive from CharBooleanType. The c-tor is internal. That's what they 
create IUserType for. It's more work but limits break-ability of changes.


On Thursday, September 15, 2011 at 6:25 AM, James Gregory wrote:

> I'm guessing you could probably create your own subclass of CharBooleanType 
> and just override the TrueString and FalseString properties to be what you 
> need them to be.
> 
> However, I think this is exactly what query substitutions was designed for. 
> Certainly most places I've seen have had 1 and 0 specified in the 
> substitutions.
> 
> Both should work though. 
> 
>  -- 
>  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/-/sHWjC5uxiNwJ.
>  To post to this group, send email to [email protected] 
> (mailto:[email protected]).
>  To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]).
>  For more options, visit this group at 
> http://groups.google.com/group/fluent-nhibernate?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
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