IReadOnlyProperty.DeclaringEntityType Свойство

Определение

Внимание!

Use DeclaringType and cast to IReadOnlyEntityType or IReadOnlyComplexType

Возвращает тип сущности, к которой принадлежит это свойство.

public Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType DeclaringEntityType { get; }
[System.Obsolete("Use DeclaringType and cast to IReadOnlyEntityType or IReadOnlyComplexType")]
public virtual Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType DeclaringEntityType { get; }
member this.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
[<System.Obsolete("Use DeclaringType and cast to IReadOnlyEntityType or IReadOnlyComplexType")>]
member this.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Public ReadOnly Property DeclaringEntityType As IReadOnlyEntityType
Public Overridable ReadOnly Property DeclaringEntityType As IReadOnlyEntityType

Значение свойства

Атрибуты

Применяется к