语言

CosmosDbFunctionsExtensions.FullTextContains 方法

定义

检查指定的属性是否包含使用全文搜索的给定关键字。

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

参数

_
DbFunctions

DbFunctions 实例。

property
String

要搜索的属性。

keyword
String

要搜索的关键字。

返回

true 如果属性包含关键字,则为 ;否则,为 false.

适用于