Is there any way to get an EntityCollection without explicity specifying the type? For example, I have some classes that handle caching a set of lookup tables for a web app, and I want to be able to just call a method on the caching class like
EntityCollection collection = CacheManager.GetLookupTable(string key);
Is this possible? I just don't want to have to create separate methods for each EntityCollection that I would need to retrieve.