ModelMetadata Class
Metadata about an entity representing a model type. Usually these objects are either marked as SerializableAttribute, or must derive from MarshalByRefObject and are passed as parameters for T4 text templates in visual studio.
Assembly: Microsoft.AspNet.Scaffolding.12.0 (in Microsoft.AspNet.Scaffolding.12.0.dll)
The ModelMetadata type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | EntitySetName | Entity Set Name. |
![]() | PrimaryKeys | Primary key members of entity. |
![]() | Properties | Properties of entity. |
![]() | RelatedEntities | Related entity information. This property contains only the entities related to the current model through a foreign key property on the model. |
Show:
