Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CosmosDbFunctionsExtensions.FullTextContainsAny Method

Definition

Namespace:
Microsoft.EntityFrameworkCore
Assembly:
Microsoft.EntityFrameworkCore.Cosmos.dll
Package:
Microsoft.EntityFrameworkCore.Cosmos v10.0.0
Source:
CosmosDbFunctionsExtensions.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?