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.

System.Object
  Microsoft.AspNet.Scaffolding.Core.Metadata.RelatedModelMetadata

Namespace:  Microsoft.AspNet.Scaffolding.Core.Metadata
Assembly:  Microsoft.AspNet.Scaffolding.12.0 (in Microsoft.AspNet.Scaffolding.12.0.dll)

[SerializableAttribute]
public class RelatedModelMetadata

The RelatedModelMetadata type exposes the following members.

  NameDescription
Public methodRelatedModelMetadataInitializes a new instance of the RelatedModelMetadata class.
Top

  NameDescription
Public propertyAssociationPropertyNameName of the association property.
Public propertyDisplayPropertyNameName of property used for display.
Public propertyEntitySetNameEntity set name.
Public propertyForeignKeyPropertyNamesName of foreign key property.
Public propertyPrimaryKeyNamesPrimay key names of entity.
Public propertyShortTypeNameShort type name that is used when generating code.
Public propertyTypeNameType name of entity.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: