语言

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

RelationalAnnotations表示批注的IIndex帮助程序。

(继承自 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)

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

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

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

SetIsClustered(Nullable<Boolean>)

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

SetName(String)

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

(继承自 RelationalIndexAnnotations)

适用于