ConventionEntityTypeExtensions.FindIndex メソッド

定義

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

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

public static Microsoft.EntityFrameworkCore.Metadata.IConventionIndex FindIndex (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member FindIndex : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
<Extension()>
Public Function FindIndex (entityType As IConventionEntityType, property As IProperty) As IConventionIndex

パラメーター

entityType
IConventionEntityType

エンティティの型。

property
IProperty

インデックスを検索するプロパティ。

戻り値

インデックス。見つからない場合は null。

適用対象