Dynamically select a list of properties from an entity.
I have a collection IEnumerable. In a LINQ query, preferably, I would like to select only the properties in this collection from type T, into an anonymous type, where T is a POCO business object. Example: My IEnumerable contains properties "Name", "Age". My POCO is: public class Person { public string Name { get; set; } publ...