다음을 통해 공유


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입니다.

적용 대상