SqlServerIndexExtensions.IsClustered Method

Definition

Overloads

IsClustered(IReadOnlyIndex, StoreObjectIdentifier)

Returns a value indicating whether the index is clustered.

IsClustered(IIndex, StoreObjectIdentifier)

Returns a value indicating whether the index is clustered.

IsClustered(IReadOnlyIndex)

Returns a value indicating whether the index is clustered.

IsClustered(IIndex)

Returns a value indicating whether the index is clustered.

IsClustered(IReadOnlyIndex, StoreObjectIdentifier)

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

Returns a value indicating whether the index is clustered.

C#
public static bool? IsClustered (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

Parameters

index
IReadOnlyIndex

The index.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

true if the index is clustered.

Applies to

Entity Framework Core 9.0 and other versions
Product Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0

IsClustered(IIndex, StoreObjectIdentifier)

Source:
SqlServerIndexExtensions.cs

Returns a value indicating whether the index is clustered.

C#
public static bool? IsClustered (this Microsoft.EntityFrameworkCore.Metadata.IIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

Parameters

index
IIndex

The index.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

true if the index is clustered.

Applies to

Entity Framework Core 5.0
Product Versions
Entity Framework Core 5.0

IsClustered(IReadOnlyIndex)

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

Returns a value indicating whether the index is clustered.

C#
public static bool? IsClustered (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index);

Parameters

index
IReadOnlyIndex

The index.

Returns

true if the index is clustered.

Applies to

Entity Framework Core 9.0 and other versions
Product Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0

IsClustered(IIndex)

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

Returns a value indicating whether the index is clustered.

C#
public static bool? IsClustered (this Microsoft.EntityFrameworkCore.Metadata.IIndex index);

Parameters

index
IIndex

The index.

Returns

true if the index is clustered.

Applies to

Entity Framework Core 5.0 and other versions
Product Versions
Entity Framework Core 3.0, 3.1, 5.0