Language

ModelValidator.IsOwned メソッド

定義

オーバーロード

Name 説明
IsOwned(Type, IConventionModel)

対象の CLR 型が所有エンティティ型に対応するかどうかを示す値を返します。

IsOwned(Type, IModel)

対象の CLR 型が所有エンティティ型に対応するかどうかを示す値を返します。

IsOwned(Type, IConventionModel)

ソース:
ModelValidator.cs
ソース:
ModelValidator.cs
ソース:
ModelValidator.cs
ソース:
ModelValidator.cs
ソース:
ModelValidator.cs

対象の CLR 型が所有エンティティ型に対応するかどうかを示す値を返します。

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

パラメーター

targetType
Type

ターゲット CLR 型。

conventionModel
IConventionModel

モデル。

戻り値

true 指定された CLR 型が所有エンティティ型に対応する場合は 。

適用対象

IsOwned(Type, IModel)

ソース:
ModelValidator.cs

対象の CLR 型が所有エンティティ型に対応するかどうかを示す値を返します。

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

パラメーター

targetType
Type

ターゲット CLR 型。

model
IModel

モデル。

戻り値

true 指定された CLR 型が所有エンティティ型に対応する場合は 。

適用対象