PropertyMetadata Class

Definition

public ref class PropertyMetadata : Microsoft::VisualStudio::Web::CodeGeneration::EntityFrameworkCore::IPropertyMetadata
public class PropertyMetadata : Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.IPropertyMetadata
type PropertyMetadata = class
    interface IPropertyMetadata
Public Class PropertyMetadata
Implements IPropertyMetadata
Inheritance
PropertyMetadata
Implements

Constructors

PropertyMetadata(PropertyInfo)

Use this constructor when the model is being used without datacontext. It will set the property as: Non primary Non foreign key. Non autogenerated Writable Non Enum type

Properties

IsAutoGenerated
IsEnum
IsEnumFlags
IsForeignKey
IsMultilineText
IsPrimaryKey
IsReadOnly
PropertyInfo
PropertyName
Scaffold
ShortTypeName
TypeName

Applies to