共用方式為


IReadOnlyProperty.DeclaringEntityType 屬性

定義

警告

Use DeclaringType and cast to IReadOnlyEntityType or IReadOnlyComplexType

取得這個屬性所屬的實體類型。

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

屬性值

屬性

適用於