SqlServerIndexBuilderExtensions.HasFullTextCatalog Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the full-text catalog for the full-text index when targeting 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
Parameters
- indexBuilder
- IConventionIndexBuilder
The builder for the index being configured.
- catalog
- String
The name of the full-text catalog.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The same builder instance if the configuration was applied,
null otherwise.
Remarks
See Full-Text Search for more information on SQL Server full-text search.