MutableEntityTypeExtensions.FindIndex(IMutableEntityType, IProperty) メソッド

定義

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

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

パラメーター

entityType
IMutableEntityType

エンティティの型。

property
IProperty

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

戻り値

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

適用対象