PropertyMetadata Class
Metadata about a property of an entity. 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 PropertyMetadata type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AssociationDirection | The association direction when IsAssociation is true. When the property is false, this should not be used. |
![]() | DefaultValue | Default value. |
![]() | IsAssociation | Specifies whether this property is an association property. |
![]() | IsAutoGenerated | Specifies whether the property is generated automatically by database. |
![]() | IsComplexType | Specifies whether the property is a Complex Type. |
![]() | IsConcurrencyProperty | Specifies whether this property is used for ensuring concurrency. |
![]() | IsEnum | Specifies whether the property is an Enum Type. |
![]() | IsEnumFlags | Specifies whether the property is an Enum Type representing bit flags. |
![]() | IsForeignKey | Specifies whether this property is a foreign key to another entity. |
![]() | IsIndependentAssociation | If this property is an association property, indicates whether this association has an associated foreign key property on the entity (false ) or not (true ). |
![]() | IsPrimaryKey | Specifies whether this property is a primary key for it's entity. |
![]() | IsReadOnly | Specifies whether this property is read only. |
![]() | PropertyName | Name of property. |
![]() | RelatedModel | If this property is an association property, contains information about the associated model. This is null for non-association properties. |
![]() | Scaffold | Specifies whether UI should be generated for this property. |
![]() | ShortTypeName | Short type name that is used when generating code. |
![]() | TypeName | Type name of the property type. |
Show:
