다음을 통해 공유


MutableEntityTypeExtensions.AddIndex 메서드

정의

이 엔터티 형식에 인덱스 추가

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

매개 변수

entityType
IMutableEntityType

엔터티 형식입니다.

property
IMutableProperty

인덱싱할 속성입니다.

반환

새로 만든 인덱스입니다.

적용 대상