Note

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

Access to this page requires authorization. You can try .

CosmosDbFunctionsExtensions.FullTextContains 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 the given keyword using full-text search.

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

Parameters

_
DbFunctions

The DbFunctions instance.

property
String

The property to search.

keyword
String

The keyword to search for.

Returns

true if the property contains the keyword; otherwise, false.

Applies to


Feedback

Was this page helpful?