次の方法で共有


RuntimeModel.IModel.FindEntityType メソッド

定義

オーバーロード

IModel.FindEntityType(String, String, IEntityType)

ナビゲーション名と定義エンティティ型を定義する、指定された名前のエンティティ型を取得します。 一致する null エンティティ型が見つからない場合は を返します。

IModel.FindEntityType(String)

指定した名前のエンティティを取得します。 指定された名前の null エンティティ型が見つからないか、指定された CLR 型が共有型エンティティ型で使用されているか、エンティティ型に定義ナビゲーションがある場合は を返します。

IModel.FindEntityType(Type)

指定したエンティティ クラスをマップするエンティティを取得します。 指定された null CLR 型を持つエンティティ型が見つからないか、指定された CLR 型が共有型エンティティ型で使用されている場合、またはエンティティ型に定義ナビゲーションがある場合は を返します。

IModel.FindEntityType(String, String, IEntityType)

ナビゲーション名と定義エンティティ型を定義する、指定された名前のエンティティ型を取得します。 一致する null エンティティ型が見つからない場合は を返します。

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IEntityType? IModel.FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IEntityType definingEntityType);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IEntityType IModel.FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IEntityType definingEntityType);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IModel.FindEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IModel.FindEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
Function FindEntityType (name As String, definingNavigationName As String, definingEntityType As IEntityType) As IEntityType Implements IModel.FindEntityType

パラメーター

name
String

検索するエンティティ型の名前。

definingNavigationName
String

検索するエンティティ型のナビゲーションを定義する 。

definingEntityType
IEntityType

検索するエンティティ型の定義エンティティ型。

戻り値

エンティティの種類。何 null も見つからない場合は 。

実装

属性

適用対象

IModel.FindEntityType(String)

指定した名前のエンティティを取得します。 指定された名前の null エンティティ型が見つからないか、指定された CLR 型が共有型エンティティ型で使用されているか、エンティティ型に定義ナビゲーションがある場合は を返します。

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IEntityType? IModel.FindEntityType (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IEntityType IModel.FindEntityType (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IModel.FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IModel.FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
Function FindEntityType (name As String) As IEntityType Implements IModel.FindEntityType

パラメーター

name
String

検索するエンティティ型の名前。

戻り値

エンティティの種類。何 null も見つからない場合は 。

実装

属性

適用対象

IModel.FindEntityType(Type)

指定したエンティティ クラスをマップするエンティティを取得します。 指定された null CLR 型を持つエンティティ型が見つからないか、指定された CLR 型が共有型エンティティ型で使用されている場合、またはエンティティ型に定義ナビゲーションがある場合は を返します。

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IEntityType? IModel.FindEntityType (Type type);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IEntityType IModel.FindEntityType (Type type);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IModel.FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IModel.FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IEntityType
Function FindEntityType (type As Type) As IEntityType Implements IModel.FindEntityType

パラメーター

type
Type

対応するエンティティ型を検索する型。

戻り値

エンティティの種類。何 null も見つからない場合は 。

実装

属性

適用対象