Idioma

SqlServerIndexBuilderExtensions.HasFullTextChangeTracking Method

Definition

Configures the change tracking mode for the full-text index when targeting SQL Server.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder? HasFullTextChangeTracking(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, Microsoft.EntityFrameworkCore.FullTextChangeTracking? changeTracking, bool fromDataAnnotation = false);
static member HasFullTextChangeTracking : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Nullable<Microsoft.EntityFrameworkCore.FullTextChangeTracking> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder
<Extension()>
Public Function HasFullTextChangeTracking (indexBuilder As IConventionIndexBuilder, changeTracking As Nullable(Of FullTextChangeTracking), Optional fromDataAnnotation As Boolean = false) As IConventionIndexBuilder

Parameters

indexBuilder
IConventionIndexBuilder

The builder for the index being configured.

changeTracking
Nullable<FullTextChangeTracking>

The change tracking mode.

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.

Applies to