IForeignKey.DeclaringEntityType 属性

定义

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

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

属性值

适用于