I have this scenario:
var query = Session.QueryOver<T>()var criteria = query.UnderlyingCriteria.SomethingThereAddCriterion()
How can I transform criteria back to IQueryOver()?
I have this scenario:
var query = Session.QueryOver<T>()var criteria = query.UnderlyingCriteria.SomethingThereAddCriterion()How can I transform criteria back to IQueryOver()?
Your criterias has been added to the
UnderlyingCriteriaofquery. So you don't need to transformcriteriato IQueryOver(). Just usequeryagain.