Using the same entity class for multiple lists

Apr 1, 2008 at 3:18 PM
If I see this correctly, currently an entity class is bound to a single SharePoint list instance. I think it would be useful if you could use the same entity class for multiple list instances, as it is quite common to have multiple lists having the same schema, but currently there is no way to write code that could handle all these lists the same.
For example I could imagine an overload for SharePointDataContext.GetList<T>() that would also take the name of the list:
SharePointDataContext.GetList<T>(string listName)
What do you think of this?