IKey.DeclaringEntityType 属性

定义

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

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

属性值

适用于