다음을 통해 공유


SqlServerIndexExtensions.SetIncludeProperties 메서드

정의

오버로드

SetIncludeProperties(IMutableIndex, IReadOnlyList<String>)

포함된 속성 이름을 설정합니다.

SetIncludeProperties(IConventionIndex, IReadOnlyList<String>, Boolean)

포함된 속성 이름을 설정합니다.

SetIncludeProperties(IMutableIndex, IReadOnlyList<String>)

포함된 속성 이름을 설정합니다.

public static void SetIncludeProperties (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, System.Collections.Generic.IReadOnlyList<string> properties);
static member SetIncludeProperties : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * System.Collections.Generic.IReadOnlyList<string> -> unit
<Extension()>
Public Sub SetIncludeProperties (index As IMutableIndex, properties As IReadOnlyList(Of String))

매개 변수

index
IMutableIndex

인덱스입니다.

properties
IReadOnlyList<String>

설정할 값입니다.

적용 대상

SetIncludeProperties(IConventionIndex, IReadOnlyList<String>, Boolean)

포함된 속성 이름을 설정합니다.

public static void SetIncludeProperties (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, System.Collections.Generic.IReadOnlyList<string> properties, bool fromDataAnnotation = false);
public static System.Collections.Generic.IReadOnlyList<string> SetIncludeProperties (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, System.Collections.Generic.IReadOnlyList<string> properties, bool fromDataAnnotation = false);
public static System.Collections.Generic.IReadOnlyList<string>? SetIncludeProperties (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, System.Collections.Generic.IReadOnlyList<string>? properties, bool fromDataAnnotation = false);
static member SetIncludeProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * System.Collections.Generic.IReadOnlyList<string> * bool -> unit
static member SetIncludeProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * System.Collections.Generic.IReadOnlyList<string> * bool -> System.Collections.Generic.IReadOnlyList<string>
<Extension()>
Public Sub SetIncludeProperties (index As IConventionIndex, properties As IReadOnlyList(Of String), Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetIncludeProperties (index As IConventionIndex, properties As IReadOnlyList(Of String), Optional fromDataAnnotation As Boolean = false) As IReadOnlyList(Of String)

매개 변수

index
IConventionIndex

인덱스입니다.

properties
IReadOnlyList<String>

설정할 값입니다.

fromDataAnnotation
Boolean

데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.

반환

구성된 속성 이름입니다.

적용 대상