public final class EntityModel:
Immutable explicit entity model owned by an EntityManagerFactory.
The model is never inferred from linked reflection metadata. This prevents unrelated entities from silently changing schema operations when an application dependency is added. Class names are first-class Type values in this expression context.
model = EntityModel([User, Order]) assert model.mappedTypes[0] == User.type
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | mappedTypes | Immutable, deterministically ordered mapped entity types. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | EntityModelEntityModel(mappedTypes as IList<Type>): |
Creates an immutable entity model from a validated type list. |