SqlServerIndexExtensions.SetIsClustered 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
索引。
适用于
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
索引。
- fromDataAnnotation
- Boolean
指示配置是否是使用数据注释指定的。
返回
配置的值。