語言

CosmosDbFunctionsExtensions.FullTextContainsAny 方法

定義

透過全文搜尋檢查指定屬性是否包含任何給定關鍵字。

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

參數

_
DbFunctions

DbFunctions 執行個體。

property
String

要搜尋的房產。

keywords
String[]

關鍵字。

傳回

true如果該屬性包含以下關鍵字;否則,。 false

適用於