This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
What is the best way to get all entity types, or EntityInfo classes, in a model at run-time? |
|
|
You can enumerate the type in the assembly and look for anything derived from Entity, e.g.
You can fetch the EntityInfo instanced based on a known entity type so the above code could also be used to derive an EntityInfo if you prefer.
|
|