Share via


CosmosDbFunctionsExtensions.FullTextContainsAny Method

Definition

Checks if the specified property contains any of the given keywords using full-text search.

public static bool FullTextContainsAny(this Microsoft.EntityFrameworkCore.DbFunctions _, string property, params string[] keywords);
static member FullTextContainsAny : Microsoft.EntityFrameworkCore.DbFunctions * string * string[] -> bool
<Extension()>
Public Function FullTextContainsAny (_ As DbFunctions, property As String, ParamArray keywords As String()) As Boolean

Parameters

_
DbFunctions

The DbFunctions instance.

property
String

The property to search.

keywords
String[]

The keywords to search for.

Returns

true if the property contains any of the keywords; otherwise, false.

Applies to