What is the XML that FluentNH generates for TypeFactory.GetStringType(2)?

/Oskar


2012/12/5 Svend  Tofte <[email protected]>:
>
> On Tuesday, December 4, 2012 8:46:03 PM UTC+1, Oskar Berggren wrote:
>>
>> I think the xml mappings would accept e.g. type="String(2)" for the
>> filter-param element. If you cannot pass a string through FluentNH,
>> pehaps you can try NHibernate.Type.TypeFactory.GetStringType(2).
>>
>> /Oskar
>>
>
> Hey Oskar,
>
> I've tried variations on the IType argument to AddParameter already. It
> doesn't seem to have any change if I use for example
> TypeFactory.GetStringType(2), or the Ansi variation. It all ends up as text,
> if I denote anything as more then a single char. Other types work fine, but
> I'm stumped as to how to solve this.
>
> -Svend
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/nhusers/-/zfqRgFLRwEYJ.
>
> 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/nhusers?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.

Reply via email to