語言

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

適用於