SqlServerKeyExtensions.SetIsClustered 方法

定义

重载

SetIsClustered(IMutableKey, Nullable<Boolean>)

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

SetIsClustered(IConventionKey, Nullable<Boolean>, Boolean)

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

SetIsClustered(IMutableKey, Nullable<Boolean>)

Source:
SqlServerKeyExtensions.cs
Source:
SqlServerKeyExtensions.cs
Source:
SqlServerKeyExtensions.cs
Source:
SqlServerKeyExtensions.cs
Source:
SqlServerKeyExtensions.cs
Source:
SqlServerKeyExtensions.cs
Source:
SqlServerKeyExtensions.cs

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

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

参数

key
IMutableKey

键。

clustered
Nullable<Boolean>

要设置的值。

适用于

SetIsClustered(IConventionKey, Nullable<Boolean>, Boolean)

Source:
SqlServerKeyExtensions.cs
Source:
SqlServerKeyExtensions.cs
Source:
SqlServerKeyExtensions.cs
Source:
SqlServerKeyExtensions.cs
Source:
SqlServerKeyExtensions.cs
Source:
SqlServerKeyExtensions.cs
Source:
SqlServerKeyExtensions.cs

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

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

参数

key
IConventionKey

键。

clustered
Nullable<Boolean>

要设置的值。

fromDataAnnotation
Boolean

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

返回

配置的值。

适用于