IReadOnlyProperty.DeclaringEntityType Property

Definition

Caution

Use DeclaringType and cast to IReadOnlyEntityType or IReadOnlyComplexType

Gets the entity type that this property belongs to.

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

Property Value

Attributes

Applies to