[fluent-nhib] Re: How to use AnsiString by default?

2009-09-15 Thread Anthony Gatlin
James, would you mind sharing it. I was pretty sure it was possible but didn't know the specifics on how to implement it. I would love to see the specifics as I have somewhat similar requirement. Thanks! Anthony On Sep 15, 3:54 am, JamesSpibey wrote: > I figured this out. I just added a conven

[fluent-nhib] Re: How to use AnsiString by default?

2009-09-15 Thread JamesSpibey
I figured this out. I just added a convention which says then when the property type is string, it should set a CustomType of AnsiString On Sep 15, 7:42 am, JamesSpibey wrote: > Does anyone know how this is done? I can't find where the system types > are mapped into NH types in the code so a poi

[fluent-nhib] Re: How to use AnsiString by default?

2009-09-14 Thread JamesSpibey
Does anyone know how this is done? I can't find where the system types are mapped into NH types in the code so a pointer would be great! On Sep 14, 7:14 pm, Anthony Gatlin wrote: > James, > > I believe there is most probably a way. I am not sure how. > > Anthony > > On Sep 14, 8:49 am, JamesSpib

[fluent-nhib] Re: How to use AnsiString by default?

2009-09-14 Thread Anthony Gatlin
James, I believe there is most probably a way. I am not sure how. Anthony On Sep 14, 8:49 am, JamesSpibey wrote: > Hi, > > I'm using FNH to map my oracle database and just realised that > NHibernate thinks my strings are NVARCHAR rather than VARCHAR. This is > because the Oracle driver maps th