sql-to-entity-framework

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...

Does EF4 support mapping 1 component from several tables?

At my company we have a database with one table being so big that it was splitted into 3 tables. They all share an ID and the info is NOT normalized so there is info for several entities in the tables, some entities actually have some fields in one table and some fields in the other tables. There is a new project and they want to use nH...