Share via


SqlServerIndexAnnotations Class

Definition

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

public class SqlServerIndexAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalIndexAnnotations, Microsoft.EntityFrameworkCore.Metadata.ISqlServerIndexAnnotations
type SqlServerIndexAnnotations = class
    inherit RelationalIndexAnnotations
    interface ISqlServerIndexAnnotations
    interface IRelationalIndexAnnotations
Public Class SqlServerIndexAnnotations
Inherits RelationalIndexAnnotations
Implements 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

DefaultIndexNamePrefix (Inherited from RelationalIndexAnnotations)
ProviderFullAnnotationNames (Inherited from RelationalIndexAnnotations)

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