Compartir a través de


IReadOnlyEntityType.IsInOwnershipPath(IReadOnlyEntityType) Método

Definición

Obtiene un valor que indica si el tipo de entidad especificado está en la ruta de acceso de propiedad de este tipo de entidad.

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 entidad que se va a buscar en la ruta de acceso de propiedad.

Devoluciones

true Es si targetType está en la ruta de acceso de propiedad de este tipo de entidad; de lo contrario false, es .

Se aplica a