次の方法で共有


IConventionEntityType.FindIndex メソッド

定義

オーバーロード

FindIndex(IReadOnlyProperty)

指定されたプロパティで定義されている名前のないインデックスを取得します。 このようなインデックスが null 定義されていない場合は を返します。

FindIndex(IReadOnlyList<IProperty>)

指定されたプロパティで定義されている名前のないインデックスを取得します。 インデックスが null 定義されていない場合は を返します。

名前付きインデックスは、プロパティの一覧が一致しても返されません。

FindIndex(IReadOnlyList<IReadOnlyProperty>)

指定されたプロパティで定義されている名前のないインデックスを取得します。 インデックスが null 定義されていない場合は を返します。

FindIndex(String)

指定した名前のインデックスを取得します。 nullこのようなインデックスが存在しない場合は を返します。

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 も見つからない場合は 。

適用対象