Jazyk

ModelValidator.IsOwned Metoda

Definice

Přetížení

Název Description
IsOwned(Type, IConventionModel)

Vrátí hodnotu určující, zda by cílový typ CLR odpovídal typu vlastněné entity.

IsOwned(Type, IModel)

Vrátí hodnotu určující, zda by cílový typ CLR odpovídal typu vlastněné entity.

IsOwned(Type, IConventionModel)

Zdroj:
ModelValidator.cs
Zdroj:
ModelValidator.cs
Zdroj:
ModelValidator.cs
Zdroj:
ModelValidator.cs
Zdroj:
ModelValidator.cs

Vrátí hodnotu určující, zda by cílový typ CLR odpovídal typu vlastněné entity.

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

Parametry

targetType
Type

Cílový typ CLR.

conventionModel
IConventionModel

Model.

Návraty

true pokud daný typ CLR odpovídá typu vlastněné entity.

Platí pro

IsOwned(Type, IModel)

Zdroj:
ModelValidator.cs

Vrátí hodnotu určující, zda by cílový typ CLR odpovídal typu vlastněné entity.

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

Parametry

targetType
Type

Cílový typ CLR.

model
IModel

Model.

Návraty

true pokud daný typ CLR odpovídá typu vlastněné entity.

Platí pro