Share via


IReadOnlyEntityType.IsInOwnershipPath(IReadOnlyEntityType) 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 virtual bool IsInOwnershipPath (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType targetType);
abstract member IsInOwnershipPath : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> bool
override this.IsInOwnershipPath : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> bool
Public Overridable Function IsInOwnershipPath (targetType As IReadOnlyEntityType) As Boolean

Parâmetros

targetType
IReadOnlyEntityType

Tipo de entidade a ser pesquisado no caminho de propriedade.

Retornos

true se targetType estiver no caminho de propriedade desse tipo de entidade, caso contrário false, .

Aplica-se a