SqlServerIndexAnnotations Class

Definition

Properties for relational-specific annotations accessed through SqlServer(IMutableIndex).

C#
public class SqlServerIndexAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalIndexAnnotations, Microsoft.EntityFrameworkCore.Metadata.ISqlServerIndexAnnotations
Inheritance
SqlServerIndexAnnotations
Implements

Constructors

SqlServerIndexAnnotations(IIndex)

Constructs an instance for annotations of the given IIndex.

SqlServerIndexAnnotations(RelationalAnnotations)

Constructs an instance for annotations of the IIndex represented by the given annotation helper.

Fields

Properties

Annotations

The RelationalAnnotations helper representing the IIndex to annotate.

(Inherited from RelationalIndexAnnotations)
Filter

The index filter expression.

(Inherited from RelationalIndexAnnotations)
IncludeProperties

Returns included property names, or null if they have not been specified.

Index

The IIndex to annotate.

(Inherited from RelationalIndexAnnotations)
IsClustered

Indicates whether or not the index is clustered, or null if clustering has not been specified.

Name

The index name.

(Inherited from RelationalIndexAnnotations)

Methods

GetAnnotations(IEntityType) (Inherited from RelationalIndexAnnotations)
GetAnnotations(IIndex) (Inherited from RelationalIndexAnnotations)
GetAnnotations(IProperty) (Inherited from RelationalIndexAnnotations)
GetDefaultName() (Inherited from RelationalIndexAnnotations)
GetNameConfigurationSource() (Inherited from RelationalIndexAnnotations)
SetFilter(String)

Attempts to set the Filter using the semantics of the RelationalAnnotations in use.

(Inherited from RelationalIndexAnnotations)
SetInclude(IReadOnlyList<String>)

Attempts to set included property names using the semantics of the RelationalAnnotations in use.

SetIsClustered(Nullable<Boolean>)

Attempts to set clustering using the semantics of the RelationalAnnotations in use.

SetName(String)

Attempts to set the Name using the semantics of the RelationalAnnotations in use.

(Inherited from RelationalIndexAnnotations)

Applies to

Product Versions
Entity Framework Core 1.0, 1.1, 2.0, 2.1, 2.2