Share via


SqlServerIndexAnnotations 类

定义

通过 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
继承
SqlServerIndexAnnotations
实现

构造函数

SqlServerIndexAnnotations(IIndex)

为给定 IIndex的批注构造实例。

SqlServerIndexAnnotations(RelationalAnnotations)

为给定批注帮助程序表示的 IIndex 的注释构造实例。

字段

DefaultIndexNamePrefix

通过 SqlServer(IMutableIndex)访问的特定于关系注释的属性。

(继承自 RelationalIndexAnnotations)
ProviderFullAnnotationNames

通过 SqlServer(IMutableIndex)访问的特定于关系注释的属性。

(继承自 RelationalIndexAnnotations)

属性

Annotations

表示RelationalAnnotationsIIndex要批注的 的帮助程序。

(继承自 RelationalIndexAnnotations)
Filter

索引筛选器表达式。

(继承自 RelationalIndexAnnotations)
IncludeProperties

返回包含的属性名称,如果 null 尚未指定,则返回 。

Index

IIndex要批注的 。

(继承自 RelationalIndexAnnotations)
IsClustered

指示索引是否聚集,或者null是否未指定聚类分析。

Name

索引名称。

(继承自 RelationalIndexAnnotations)

方法

GetAnnotations(IEntityType)

通过 SqlServer(IMutableIndex)访问的特定于关系注释的属性。

(继承自 RelationalIndexAnnotations)
GetAnnotations(IIndex)

通过 SqlServer(IMutableIndex)访问的特定于关系注释的属性。

(继承自 RelationalIndexAnnotations)
GetAnnotations(IProperty)

通过 SqlServer(IMutableIndex)访问的特定于关系注释的属性。

(继承自 RelationalIndexAnnotations)
GetDefaultName()

通过 SqlServer(IMutableIndex)访问的特定于关系注释的属性。

(继承自 RelationalIndexAnnotations)
GetNameConfigurationSource()

通过 SqlServer(IMutableIndex)访问的特定于关系注释的属性。

(继承自 RelationalIndexAnnotations)
SetFilter(String)

尝试使用正在使用 Filter 的语义 RelationalAnnotations 设置 。

(继承自 RelationalIndexAnnotations)
SetInclude(IReadOnlyList<String>)

尝试使用正在使用 的语义 RelationalAnnotations 设置包含的属性名称。

SetIsClustered(Nullable<Boolean>)

尝试使用正在使用 的语义RelationalAnnotations设置聚类分析。

SetName(String)

尝试使用正在使用 Name 的语义 RelationalAnnotations 设置 。

(继承自 RelationalIndexAnnotations)

适用于