I am trying to make a LINQ statement where the where clause comes from a variable. For example:
string whereClause = address.zip == 23456; var x = from somet
That's a built-in Feature of LINQ. Just use the Where extension method.
See LINQ Query Syntax versus Method Syntax (C#) for more information.