Jazyk

SqliteDbFunctionsExtensions.Glob(DbFunctions, String, String) Metoda

Definice

Mapuje se na funkci SQLite glob , která se podobá Like(DbFunctions, String, String) syntaxi globbingu systému souborů.

public static bool Glob(this Microsoft.EntityFrameworkCore.DbFunctions _, string matchExpression, string pattern);
static member Glob : Microsoft.EntityFrameworkCore.DbFunctions * string * string -> bool
<Extension()>
Public Function Glob (_ As DbFunctions, matchExpression As String, pattern As String) As Boolean

Parametry

_
DbFunctions

Instance DbFunctions.

matchExpression
String

Řetězec, který se má shodovat.

pattern
String

Vzor, který může zahrnovat zástupné cardy *,?,[,^,-,].

Návraty

true pokud existuje shoda.

Poznámky

Další informace a příklady najdete v tématu Databázové funkce a přístup k databázím SQLite pomocí EF Core .

Platí pro