EntityTypeExtensions.IsInOwnershipPath(IEntityType, IEntityType) Método

Definição

Obtém um valor que indica se determinado tipo de entidade está no caminho de propriedade para esse tipo de entidade.

public static bool IsInOwnershipPath (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IEntityType targetType);
static member IsInOwnershipPath : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> bool
<Extension()>
Public Function IsInOwnershipPath (entityType As IEntityType, targetType As IEntityType) As Boolean

Parâmetros

entityType
IEntityType

O tipo de entidade.

targetType
IEntityType

Tipo de entidade a ser pesquisado no caminho de propriedade.

Retornos

true se targetType estiver no caminho de propriedade de entityType, caso contrário false, .

Aplica-se a