IProperty.DeclaringEntityType 屬性

定義

警告

Use DeclaringType and cast to IEntityType or IComplexType

取得此屬性所屬的實體類型。

public Microsoft.EntityFrameworkCore.Metadata.IEntityType DeclaringEntityType { get; }
[System.Obsolete("Use DeclaringType and cast to IEntityType or IComplexType")]
public virtual Microsoft.EntityFrameworkCore.Metadata.IEntityType DeclaringEntityType { get; }
member this.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType
[<System.Obsolete("Use DeclaringType and cast to IEntityType or IComplexType")>]
member this.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType
Public ReadOnly Property DeclaringEntityType As IEntityType
Public Overridable ReadOnly Property DeclaringEntityType As IEntityType

屬性值

實作

屬性

適用於