Michael Powell
unread,Mar 6, 2016, 3:46:34 PM3/6/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fluent-n...@googlegroups.com
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