IReadOnlyKey.DeclaringEntityType 属性

定义

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

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

属性值

适用于