IConventionProperty.DeclaringEntityType 屬性

定義

警告

Use DeclaringType and cast to IConventionEntityType or IConventionComplexType

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

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

屬性值

屬性

適用於