語言

SqlServerIndexBuilderExtensions.HasFullTextCatalog 方法

定義

在針對 SQL Server 時,將全文目錄配置為全文索引。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder? HasFullTextCatalog(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, string? catalog, bool fromDataAnnotation = false);
static member HasFullTextCatalog : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder
<Extension()>
Public Function HasFullTextCatalog (indexBuilder As IConventionIndexBuilder, catalog As String, Optional fromDataAnnotation As Boolean = false) As IConventionIndexBuilder

參數

indexBuilder
IConventionIndexBuilder

正在設定索引的建置者。

catalog
String

全文檢索目錄的名稱。

fromDataAnnotation
Boolean

表示配置是否以資料註解方式指定。

傳回

如果設定是套用,則使用同一個建構者實例, null 否則。

備註

請參閱 Full-Text 搜尋SQL Server全文搜尋。

適用於