I was previously using a DataContext which had a GetTable(type) method to get tables generically. Example:
context.GetTable(myObject.GetType());
Recently my team decided to switch to using ObjectContext with the Entity Framework. Is there a way to get tables by the entity name similar to DataContexts GetTable method without having to specify a specific type? It has to be generic.