EntityTypeExtensions.IsInOwnershipPath(IEntityType, IEntityType) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Entity Framework