Share via


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

属性值

属性

适用于