Question

I have this scenario:

  1. var query = Session.QueryOver<T>()
  2. var criteria = query.UnderlyingCriteria.SomethingThereAddCriterion()

How can I transform criteria back to IQueryOver()?

Was it helpful?

Solution

Your criterias has been added to the UnderlyingCriteria of query. So you don't need to transform criteria to IQueryOver(). Just use query again.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top