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

属性值

实现

属性

适用于