IReadOnlyForeignKey.DeclaringEntityType 属性

定义

获取依赖实体类型。 这可能不同于在继承层次结构中定义关系派生类型时定义的类型 Properties (,因为这些属性可以在基类型) 上定义。

public Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType DeclaringEntityType { get; }
member this.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Public ReadOnly Property DeclaringEntityType As IReadOnlyEntityType

属性值

适用于