Idioma

ModelValidator.IsOwned Method

Definition

Overloads

Name Description
IsOwned(Type, IConventionModel)

Returns a value indicating whether that target CLR type would correspond to an owned entity type.

IsOwned(Type, IModel)

Returns a value indicating whether that target CLR type would correspond to an owned entity type.

IsOwned(Type, IConventionModel)

Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs

Returns a value indicating whether that target CLR type would correspond to an owned entity type.

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

Parameters

targetType
Type

The target CLR type.

conventionModel
IConventionModel

The model.

Returns

true if the given CLR type corresponds to an owned entity type.

Applies to

IsOwned(Type, IModel)

Source:
ModelValidator.cs

Returns a value indicating whether that target CLR type would correspond to an owned entity type.

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

Parameters

targetType
Type

The target CLR type.

model
IModel

The model.

Returns

true if the given CLR type corresponds to an owned entity type.

Applies to