IConventionProperty.DeclaringEntityType Свойство

Определение

Внимание!

Use DeclaringType and cast to IConventionEntityType or IConventionComplexType

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

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

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

Атрибуты

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