RuntimeModel.IModel.FindEntityType メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
IModel.FindEntityType(String, String, IEntityType) |
ナビゲーション名と定義エンティティ型を定義する、指定された名前のエンティティ型を取得します。 一致する |
IModel.FindEntityType(String) |
指定した名前のエンティティを取得します。 指定された名前の |
IModel.FindEntityType(Type) |
指定したエンティティ クラスをマップするエンティティを取得します。 指定された |
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
も見つからない場合は 。
実装
- 属性
適用対象
Entity Framework
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示