Pardon my ignorance, but how would I create the "entityTypes" array to pass in?
(I'm new to interfaces, etc)
What I would then like to do is something like this:
foreach (Type t in ~all the objects in my business model~)
I know the syntax is way off for this, but perhaps you understand what I am getting at?
I noticed that the EntityClass object represents all the different objects in my model:
EntityList<EntityClass> melEC = new EntityList<EntityClass>();
melEC = MainPm.Manager.GetEntities<EntityClass>();
foreach (EntityClass ec in melEC )
~do something with the ec~
I tried this:
foreach (EntityClass ec in melEC)
but ec.GetType() always returns <EntityClass>, of course...
Edited by HFloyd - 06-Nov-2008 at 3:55pm