I have the following class Person, with a custom Where method:
Person
Where
public class Person { public string Name { get; set; } publi
What you're wanting to do is very complicated, and there are entire frameworks that are built to do this, so you don't have to write the logic yourself. Take a look at LINQ to Entities and LINQ to SQL, e.g.