语言

SqlServerIndexExtensions.SetFullTextChangeTracking 方法

定义

重载

SetFullTextChangeTracking(IMutableIndex, Nullable<FullTextChangeTracking>)

Source:
SqlServerIndexExtensions.cs

设置全文索引的更改跟踪模式。

public static void SetFullTextChangeTracking(this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, Microsoft.EntityFrameworkCore.FullTextChangeTracking? changeTracking);
static member SetFullTextChangeTracking : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * Nullable<Microsoft.EntityFrameworkCore.FullTextChangeTracking> -> unit
<Extension()>
Public Sub SetFullTextChangeTracking (index As IMutableIndex, changeTracking As Nullable(Of FullTextChangeTracking))

参数

index
IMutableIndex

索引。

changeTracking
Nullable<FullTextChangeTracking>

要设置的更改跟踪模式。

适用于

SetFullTextChangeTracking(IConventionIndex, Nullable<FullTextChangeTracking>, Boolean)

Source:
SqlServerIndexExtensions.cs

设置全文索引的更改跟踪模式。

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

参数

index
IConventionIndex

索引。

changeTracking
Nullable<FullTextChangeTracking>

要设置的更改跟踪模式。

fromDataAnnotation
Boolean

指示是否使用数据注释指定了配置。

返回

配置的值。

适用于