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.

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

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

[SerializableAttribute]
public class ModelMetadata

The ModelMetadata type exposes the following members.

  NameDescription
Public methodModelMetadataInitializes a new instance of the ModelMetadata class.
Top

  NameDescription
Public propertyEntitySetNameEntity Set Name.
Public propertyPrimaryKeysPrimary key members of entity.
Public propertyPropertiesProperties of entity.
Public propertyRelatedEntitiesRelated entity information. This property contains only the entities related to the current model through a foreign key property on the model.
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: