SqlServerIndexExtensions.SetIsCreatedOnline 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SetIsCreatedOnline(IMutableIndex, Nullable<Boolean>) |
设置一个值,该值指示索引是否处于联机状态。 |
SetIsCreatedOnline(IConventionIndex, Nullable<Boolean>, Boolean) |
设置一个值,该值指示索引是否处于联机状态。 |
SetIsCreatedOnline(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 SetIsCreatedOnline (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, bool? createdOnline);
static member SetIsCreatedOnline : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * Nullable<bool> -> unit
<Extension()>
Public Sub SetIsCreatedOnline (index As IMutableIndex, createdOnline As Nullable(Of Boolean))
参数
- index
- IMutableIndex
索引。
适用于
SetIsCreatedOnline(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 SetIsCreatedOnline (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, bool? createdOnline, bool fromDataAnnotation = false);
public static bool? SetIsCreatedOnline (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, bool? createdOnline, bool fromDataAnnotation = false);
static member SetIsCreatedOnline : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * Nullable<bool> * bool -> unit
static member SetIsCreatedOnline : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * Nullable<bool> * bool -> Nullable<bool>
<Extension()>
Public Sub SetIsCreatedOnline (index As IConventionIndex, createdOnline As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetIsCreatedOnline (index As IConventionIndex, createdOnline As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)
参数
- index
- IConventionIndex
索引。
- fromDataAnnotation
- Boolean
指示是否使用数据注释指定配置。
返回
配置的值。