If you do need to write your own, you should implement IUserType.

On Mon, Aug 17, 2009 at 1:59 PM, [email protected] <
[email protected]> wrote:

>
> Don't you want to use the Bit datatype in your database?
>
> Andrew
>
> On Aug 17, 1:31 pm, Dosihris <[email protected]> wrote:
> > Hi,
> >
> > is there a way to map a property to another type in the database and
> > write an own converter, that sais how values are converted? I want to
> > have boolean, but the stupid IBM DB2 Database is not able to handle
> > boolean. so i want map my boolean property to an int in the database
> > and write a few lines how an bool is converted to int and vise
> > versa...
> >
> > Nico
> >
>

--~--~---------~--~----~------------~-------~--~----~
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