Hello,

I've got a semi-rich domain model that supports some methods. However,
when I try to access them from within a Query<T>, I am getting
exceptions like
NHibernate.Linq.Visitors.HqlGeneratorExpressionTreeVisitor.VisitMethodCallExpression.

If memory serves, how does one register a domain model's methods with
the linq provider? I'd like to do so automatically, if possible. Is
that upon mapping, or when?

If I need to add them as extension methods, so be it; what I want to
avoid is massive duplication of effort in my
service/manager/controller layers for stuff that should be closer, and
therefore feel more natural, to the model.

Thank you...

Regards,

Michael Powell

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fluent-nhibernate+unsubscr...@googlegroups.com.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
Visit this group at https://groups.google.com/group/fluent-nhibernate.
For more options, visit https://groups.google.com/d/optout.

Reply via email to