Share via


RelationalIndexExtensions.SetFilter Método

Definição

Sobrecargas

SetFilter(IMutableIndex, String)

Define a expressão de filtro de índice.

SetFilter(IConventionIndex, String, Boolean)

Define a expressão de filtro de índice.

SetFilter(IMutableIndex, String)

Define a expressão de filtro de índice.

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)

Parâmetros

index
IMutableIndex

O índice.

value
String

O valor a ser definido.

Aplica-se a

SetFilter(IConventionIndex, String, Boolean)

Define a expressão de filtro de índice.

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

Parâmetros

index
IConventionIndex

O índice.

value
String

O valor a ser definido.

fromDataAnnotation
Boolean

Indica se a configuração foi especificada usando uma anotação de dados.

Retornos

O valor configurado.

Aplica-se a