I'm trying to use calculated properties that I use with
Query<T>()inside of aQueryOver<T>(). When using a LINQ query, I can register custom generators with a customDefaultLinqToHqlGeneratorsRegistry. This works great for calculated properties from an expression so the code isn't duplicated.I can't seem to find the extension point for registering custom generators for the QueryOver API. Does it exist?
I'd really like to not have to duplicate the calculated property logic inside of a raw SQL string (
--Map(x => x.Prop).Formula("query").LazyLoad().Access.ReadOnly()). This means twice the logic and twice the number of tests.
You received this message because you are subscribed to the Google Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+u...@googlegroups.com.
To post to this group, send email to nhu...@googlegroups.com.
Visit this group at http://groups.google.com/group/nhusers?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.