IConventionEntityType.FindIndex メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
FindIndex(IReadOnlyProperty) |
指定されたプロパティで定義されている名前のないインデックスを取得します。 このようなインデックスが |
FindIndex(IReadOnlyList<IProperty>) |
指定されたプロパティで定義されている名前のないインデックスを取得します。 インデックスが 名前付きインデックスは、プロパティの一覧が一致しても返されません。 |
FindIndex(IReadOnlyList<IReadOnlyProperty>) |
指定されたプロパティで定義されている名前のないインデックスを取得します。 インデックスが |
FindIndex(String) |
指定した名前のインデックスを取得します。 |
FindIndex(IReadOnlyProperty)
指定されたプロパティで定義されている名前のないインデックスを取得します。 このようなインデックスが null
定義されていない場合は を返します。
public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionIndex? FindIndex (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
abstract member FindIndex : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
override this.FindIndex : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Overridable Function FindIndex (property As IReadOnlyProperty) As IConventionIndex
パラメーター
- property
- IReadOnlyProperty
インデックスを検索するプロパティ。
戻り値
インデックス。何 null
も見つからない場合は 。
注釈
名前付きインデックスは、プロパティの一覧が一致しても返されません。
適用対象
FindIndex(IReadOnlyList<IProperty>)
指定されたプロパティで定義されている名前のないインデックスを取得します。 インデックスが null
定義されていない場合は を返します。
名前付きインデックスは、プロパティの一覧が一致しても返されません。
public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties);
abstract member FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Function FindIndex (properties As IReadOnlyList(Of IProperty)) As IConventionIndex
パラメーター
- properties
- IReadOnlyList<IProperty>
インデックスを検索するプロパティ。
戻り値
インデックス。何 null
も見つからない場合は 。
適用対象
FindIndex(IReadOnlyList<IReadOnlyProperty>)
指定されたプロパティで定義されている名前のないインデックスを取得します。 インデックスが null
定義されていない場合は を返します。
public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex? FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Function FindIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IConventionIndex
パラメーター
- properties
- IReadOnlyList<IReadOnlyProperty>
インデックスを検索するプロパティ。
戻り値
インデックス。何 null
も見つからない場合は 。
注釈
名前付きインデックスは、プロパティの一覧が一致しても返されません。
適用対象
FindIndex(String)
指定した名前のインデックスを取得します。 null
このようなインデックスが存在しない場合は を返します。
public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex FindIndex (string name);
public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex? FindIndex (string name);
abstract member FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Function FindIndex (name As String) As IConventionIndex
パラメーター
- name
- String
検索するインデックスの名前。
戻り値
インデックス。何 null
も見つからない場合は 。
適用対象
Entity Framework