nhibernate - DetachedCriteria with 3 OR conditions -
How can I get this query using different queries: MyTable Choose from * (conditionA = true) or (conditionB = true) or (conditionC = true) or (conditionD = true) You can use clutter class like this: isolated diplomacy. For & lt; MyTable & gt; (). Add (restriction .Decision). Add (restrictions. AEC (true "candyshad A")). Add (restrictions. AC ("conditionB", true)). Add (restriction. Ac ("conditionC", true)). Add (ban.ac ("condition", true)));