RuntimeModel.IReadOnlyModel.FindEntityType メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
IReadOnlyModel.FindEntityType(String) |
指定した名前のエンティティ型を取得します。 指定した名前の |
IReadOnlyModel.FindEntityType(String, String, IReadOnlyEntityType) |
ナビゲーション名と定義エンティティ型を定義する、指定された基本名のエンティティ型を取得します。 一致する |
IReadOnlyModel.FindEntityType(Type, String, IReadOnlyEntityType) |
ナビゲーション名と定義エンティティ型を定義する、指定された型のエンティティ型を取得します。 一致する |
IReadOnlyModel.FindEntityType(Type) |
指定されたエンティティ クラスをマップするエンティティを取得します。 指定された |
IReadOnlyModel.FindEntityType(String)
指定した名前のエンティティ型を取得します。 指定した名前の null
エンティティ型が見つからない場合、または指定された CLR 型が共有型エンティティ型で使用されている場合、またはエンティティ型に定義ナビゲーションがある場合は を返します。
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? IReadOnlyModel.FindEntityType (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType IReadOnlyModel.FindEntityType (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Function FindEntityType (name As String) As IReadOnlyEntityType Implements IReadOnlyModel.FindEntityType
パラメーター
- name
- String
検索するエンティティ型の名前。
戻り値
エンティティ型。 null
見つからない場合は 。
実装
- 属性
適用対象
IReadOnlyModel.FindEntityType(String, String, IReadOnlyEntityType)
ナビゲーション名と定義エンティティ型を定義する、指定された基本名のエンティティ型を取得します。 一致する null
エンティティ型が見つからない場合は を返します。
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? IReadOnlyModel.FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType definingEntityType);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType IReadOnlyModel.FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType definingEntityType);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Function FindEntityType (name As String, definingNavigationName As String, definingEntityType As IReadOnlyEntityType) As IReadOnlyEntityType Implements IReadOnlyModel.FindEntityType
パラメーター
- name
- String
検索するエンティティ型の名前。
- definingNavigationName
- String
検索するエンティティ型のナビゲーションを定義する 。
- definingEntityType
- IReadOnlyEntityType
検索するエンティティ型の定義エンティティ型。
戻り値
エンティティ型。 null
見つからない場合は 。
実装
- 属性
適用対象
IReadOnlyModel.FindEntityType(Type, String, IReadOnlyEntityType)
ナビゲーション名と定義エンティティ型を定義する、指定された型のエンティティ型を取得します。 一致する null
エンティティ型が見つからない場合は を返します。
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? IReadOnlyModel.FindEntityType (Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType definingEntityType);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType IReadOnlyModel.FindEntityType (Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType definingEntityType);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Function FindEntityType (type As Type, definingNavigationName As String, definingEntityType As IReadOnlyEntityType) As IReadOnlyEntityType Implements IReadOnlyModel.FindEntityType
パラメーター
- type
- Type
検索するエンティティ型の型。
- definingNavigationName
- String
検索するエンティティ型のナビゲーションを定義する 。
- definingEntityType
- IReadOnlyEntityType
検索するエンティティ型の定義エンティティ型。
戻り値
エンティティ型。 null
見つからない場合は 。
実装
- 属性
適用対象
IReadOnlyModel.FindEntityType(Type)
指定されたエンティティ クラスをマップするエンティティを取得します。 指定された null
CLR 型を持つエンティティ型が見つからない場合、または指定された CLR 型が共有型エンティティ型で使用されている場合、またはエンティティ型に定義ナビゲーションがある場合は を返します。
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? IReadOnlyModel.FindEntityType (Type type);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType IReadOnlyModel.FindEntityType (Type type);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Function FindEntityType (type As Type) As IReadOnlyEntityType Implements IReadOnlyModel.FindEntityType
パラメーター
- type
- Type
対応するエンティティ型を検索する型。
戻り値
エンティティ型。 null
見つからない場合は 。
実装
- 属性
適用対象
Entity Framework
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示