语言

CosmosDbFunctionsExtensions.FullTextContainsAll 方法

定义

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

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

参数

_
DbFunctions

DbFunctions 实例。

property
String

要搜索的属性。

keywords
String[]

要搜索的关键字。

返回

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

适用于