次の方法で共有


IConventionModel.FindEntityType メソッド

定義

オーバーロード

FindEntityType(String)

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

FindEntityType(Type)

指定したエンティティ クラスをマップするエンティティを取得します。 指定した名前の null エンティティ型が見つからない場合は を返します。

FindEntityType(String, String, IConventionEntityType)

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

FindEntityType(Type, String, IConventionEntityType)

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

FindEntityType(String)

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

public Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType FindEntityType (string name);
public Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType? FindEntityType (string name);
abstract member FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Public Function FindEntityType (name As String) As IConventionEntityType

パラメーター

name
String

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

戻り値

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

適用対象

FindEntityType(Type)

指定したエンティティ クラスをマップするエンティティを取得します。 指定した名前の null エンティティ型が見つからない場合は を返します。

public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType? FindEntityType (Type type);
abstract member FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
override this.FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Public Overridable Function FindEntityType (type As Type) As IConventionEntityType

パラメーター

type
Type

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

戻り値

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

適用対象

FindEntityType(String, String, IConventionEntityType)

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

public Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType definingEntityType);
public Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType? FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType definingEntityType);
abstract member FindEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Public Function FindEntityType (name As String, definingNavigationName As String, definingEntityType As IConventionEntityType) As IConventionEntityType

パラメーター

name
String

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

definingNavigationName
String

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

definingEntityType
IConventionEntityType

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

戻り値

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

適用対象

FindEntityType(Type, String, IConventionEntityType)

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

public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType? FindEntityType (Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType definingEntityType);
abstract member FindEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
override this.FindEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Public Overridable Function FindEntityType (type As Type, definingNavigationName As String, definingEntityType As IConventionEntityType) As IConventionEntityType

パラメーター

type
Type

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

definingNavigationName
String

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

definingEntityType
IConventionEntityType

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

戻り値

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

適用対象