You can build a dictionary where the key name is the column name, and the value is the value you want to match that column against. Similar to the technique shown here: Creating dynamic query - #2 by stefano.menci although that technique shows a more complicated query
1 Like