You have to map that enum using int instead string... perhaps.

On Thu, Sep 16, 2010 at 12:43 PM, Lorenzo Vegetti <[email protected]>wrote:

> It was one of the enums, If I have a little time I'll investigate
> which of them was causing the problem (I suspect the one with the
> FlagsAttribute) and eventually how to map it correctly.
> Thanks Jason for pointing me in the right direction!
>
> On 15 Set, 17:01, Lorenzo Vegetti <[email protected]> wrote:
> > On 15 Set, 16:02, Jason Meckley <[email protected]> wrote:
> >
> > > I would start with the enums and CustomType<long>() it maybe that the
> NH is trying to convert a string to a int, string to enum or int to enum,
> etc.
> >
> > I'm now refactoring a little the model to avoid serializing enum. I'll
> > let you know if this was the cause of the problem.
> >
>
> --
> 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]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>


-- 
Fabio Maulo

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