Extend IQueryable Where() as OR instead of AND relationship
I’m assuming the different parts of the query are only known at runtime, i.e. you can’t just use || in a where… One lazy option is Concat – but this tends to lead to poor TSQL etc; however, I tend to be inclined to write custom Expressions instead. The approach to take depends on what … Read more