Is there a enum similar to EntityType for collections?
If there is an enum I can use the following statement to get a collection:
IEntityCollection collection = (IEntityCollection)Activator.CreateInstance(Assembly.GetExecutingAssembly().GetType(enum.ToString()));
The enum would be passed as parameter to this method. I don't like passing Types as parameters unless I really have to.
Couldn't find any hint in the entity class either.