On 8 Feb., 23:09, Oskar Berggren <[email protected]> wrote: > 2012/2/8 juanita <[email protected]>: > > Given your last statement above, your query should be: > session.Query<Item>.Where( i => i.Color == MyColor.For(255, 255, 255)) >
That would be desirable, but unfortunately I have to influence on how the query is constructed. This is actually a WCF data service call and the WCF library constructs the query. There does not seem to be any way to change this. So the question remains, is there anything I can do from within the BuildHql method that would make NHibernate generate the SQL as desired? Is there any further information on HqlGenerator and the BuildHql method? I have difficulties finding examples or documentation other than the raw API doc and a few articles on how to add custom methods. -- 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.
