SqlServerIndexExtensions.SetIsClustered 方法

定义

重载

SetIsClustered(IMutableIndex, Nullable<Boolean>)

设置一个值,该值指示索引是否聚集。

SetIsClustered(IConventionIndex, Nullable<Boolean>, Boolean)

设置一个值,该值指示索引是否聚集。

SetIsClustered(IMutableIndex, Nullable<Boolean>)

Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs

设置一个值,该值指示索引是否聚集。

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

参数

index
IMutableIndex

索引。

value
Nullable<Boolean>

要设置的值。

适用于

SetIsClustered(IConventionIndex, Nullable<Boolean>, Boolean)

Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs

设置一个值,该值指示索引是否聚集。

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

参数

index
IConventionIndex

索引。

value
Nullable<Boolean>

要设置的值。

fromDataAnnotation
Boolean

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

返回

配置的值。

适用于