PropertyMetadata 類別

定義

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
繼承
PropertyMetadata
實作

建構函式

PropertyMetadata(PropertyInfo)

在不使用 datacoNtext 的情況下使用模型時,請使用這個建構函式。 它會將 屬性設定為:非主要非外鍵。 不可自動產生的可寫入非列舉類型

屬性

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

適用於