다음을 통해 공유


RelationalIndexExtensions.SetFilter 메서드

정의

오버로드

SetFilter(IMutableIndex, String)

인덱스 필터 식을 설정합니다.

SetFilter(IConventionIndex, String, Boolean)

인덱스 필터 식을 설정합니다.

SetFilter(IMutableIndex, String)

인덱스 필터 식을 설정합니다.

public static void SetFilter (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, string value);
public static void SetFilter (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, string? value);
static member SetFilter : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * string -> unit
<Extension()>
Public Sub SetFilter (index As IMutableIndex, value As String)

매개 변수

index
IMutableIndex

인덱스입니다.

value
String

설정할 값입니다.

적용 대상

SetFilter(IConventionIndex, String, Boolean)

인덱스 필터 식을 설정합니다.

public static void SetFilter (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, string value, bool fromDataAnnotation = false);
public static string SetFilter (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, string value, bool fromDataAnnotation = false);
public static string? SetFilter (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, string? value, bool fromDataAnnotation = false);
static member SetFilter : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * string * bool -> unit
static member SetFilter : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * string * bool -> string
<Extension()>
Public Sub SetFilter (index As IConventionIndex, value As String, Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetFilter (index As IConventionIndex, value As String, Optional fromDataAnnotation As Boolean = false) As String

매개 변수

index
IConventionIndex

인덱스입니다.

value
String

설정할 값입니다.

fromDataAnnotation
Boolean

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

반환

구성된 값입니다.

적용 대상