RelatedModelMetadata Class
Metadata about a property representing an association. 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 RelatedModelMetadata type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AssociationPropertyName | Name of the association property. |
![]() | DisplayPropertyName | Name of property used for display. |
![]() | EntitySetName | Entity set name. |
![]() | ForeignKeyPropertyNames | Name of foreign key property. |
![]() | PrimaryKeyNames | Primay key names of entity. |
![]() | ShortTypeName | Short type name that is used when generating code. |
![]() | TypeName | Type name of entity. |
Show:
