score:3

Accepted answer

That should be achieved using expression tree only or may be using if..else clause

How to: Use Expression Trees to Build Dynamic Queries (C# and Visual Basic)


Related Articles