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

属性值

属性

适用于