This is currently not possible. The Hql tree produced from the Linq expression is not reversable to an actual Hql query.
/G 2016-12-05 5:09 GMT+01:00 darklx <[email protected]>: > For some reason, I needs to combine Linq Expression (only where clause) & > a hql where clause into one query, I find that the session.Query() API will > translate Linq Expression to a HqlQuery object( that extends HqlExpression > ). > > How can I translate the Linq Expression where clause to a hql where clause > queryString, and then I can combine another hql where clause queryString > into a new query? > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/nhusers. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.
