Share via


ModelValidator.IsOwned(Type, IConventionModel) Methode

Definition

Gibt einen Wert zurück, der angibt, ob dieser CLR-Zieltyp einem eigenen Entitätstyp entsprechen würde.

protected virtual bool IsOwned (Type targetType, Microsoft.EntityFrameworkCore.Metadata.IConventionModel conventionModel);
abstract member IsOwned : Type * Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> bool
override this.IsOwned : Type * Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> bool
Protected Overridable Function IsOwned (targetType As Type, conventionModel As IConventionModel) As Boolean

Parameter

targetType
Type

Der CLR-Zieltyp.

conventionModel
IConventionModel

Das Modell.

Gibt zurück

true , wenn der angegebene CLR-Typ einem eigenen Entitätstyp entspricht.

Gilt für: