Hi,
i have an IUserType that implements an boolean type. For true - values it
writes -1 and for false it writes 0 to DB. This works well.
But if i use a property of this mapping type in a query, i get the
following error:
"Unable to render boolean literal value
[.Where(NHibernate.Linq.NhQueryable`1[Domain.Base.LMed], Quote((x, ) =>
(OrElse(x.IsThp, x.IsMed))), )]""
and
"The object of type \"NHibernate.Type.CustomType\" to type
\"NHibernate.Type.BooleanType\" "
In the IUserType implementation i have:
public Type ReturnedType
{
get { return typeof(bool); }
}
Can anyone tell, what i'm doing wrong here?
Thanks and regards
--
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.