As I remember, "serializability" of the IUserType is checked by
looking at IsSerializable property (of System.Type) on the
IUserType.ReturnedType.

Try return a serializable type by IUserType.ReturnedType.

On Mon, Oct 12, 2009 at 9:43 AM, Mauro Servienti
<[email protected]> wrote:
> Hi,
>
>
>
> Running NHProof profiling my current solution it issues a warning saying
> that one of my custom type is not serializable (WARN: custom type is not
> Serializable). Googling around seems that the warn is emitted by nhibernate
> if the custom user type does not implement the ISerializable interface.
>
>
>
> My type is marked as [Serializable] and apparently everything work as
> expected, can I ignore the alert?
>
>
>
> .m
>
>
>
> >
>

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