query:
from o1 in context.Set<OperatorEntityString>()
from o2 in context.Set<OperatorEntityString>()
from o3 in context.Set<OperatorEntityBool>()
where ((EF.Functions.Like(o2.Value, "B") || o3.Value) & (o1.Value != null)) != false
select new { Value1 = o1.Value, Value2 = o2.Value, Value3 = o3.Value };
that predicate gets "optimized" out completely, but it's actually doing something when executed on L2O
query:
that predicate gets "optimized" out completely, but it's actually doing something when executed on L2O