语言

IConventionSqlServerFullTextCatalog 接口

定义

表示模型中的SQL Server全文目录,该目录在生成模型时可以改变。

public interface IConventionSqlServerFullTextCatalog : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlySqlServerFullTextCatalog
type IConventionSqlServerFullTextCatalog = interface
    interface IReadOnlySqlServerFullTextCatalog
    interface IReadOnlyAnnotatable
    interface IConventionAnnotatable
Public Interface IConventionSqlServerFullTextCatalog
Implements IConventionAnnotatable, IReadOnlySqlServerFullTextCatalog
实现

注解

有关SQL Server全文搜索的详细信息,请参阅 Full-Text 搜索。

属性

名称 说明
Builder

获取可用于配置此对象的生成器。

(继承自 IConventionAnnotatable)
IsAccentSensitive

获取一个值,该值指示全文目录是否区分重音。

(继承自 IReadOnlySqlServerFullTextCatalog)
IsDefault

获取一个值,该值指示此目录是否为数据库的默认全文目录。

(继承自 IReadOnlySqlServerFullTextCatalog)
IsInModel

指示此对象是否在模型中,即尚未从一个模型中删除。

(继承自 IConventionAnnotatable)
Item[String]

获取具有给定名称的批注的值,如果不存在,则 null 返回该值。

(继承自 IReadOnlyAnnotatable)
Model

IConventionModel获取定义此全文目录的其中。

Name

获取全文目录的名称。

(继承自 IReadOnlySqlServerFullTextCatalog)

方法

名称 说明
AddAnnotation(String, Object, Boolean)

向此对象添加批注。 如果具有指定名称的批注已存在,则引发。

(继承自 IConventionAnnotatable)
AddAnnotations(IEnumerable<IConventionAnnotation>, Boolean)

向对象添加批注。

(继承自 IConventionAnnotatable)
AnnotationsToDebugString(Int32)

获取针对对象上声明的所有批注的调试字符串。

(继承自 IReadOnlyAnnotatable)
FindAnnotation(String)

获取具有给定名称的批注,如果不存在,则 null 返回。

(继承自 IConventionAnnotatable)
GetAnnotation(String)

获取具有给定名称的批注,如果不存在,则引发该批注。

(继承自 IConventionAnnotatable)
GetAnnotations()

获取当前对象上的所有批注。

(继承自 IConventionAnnotatable)
GetConfigurationSource()

获取此 IConventionSqlServerFullTextCatalog对象的配置源。

GetIsAccentSensitiveConfigurationSource()

返回用于 . 的配置 IsAccentSensitive源。

GetIsDefaultConfigurationSource()

返回用于 . 的配置 IsDefault源。

RemoveAnnotation(String)

从此对象中删除具有给定名称的批注。

(继承自 IConventionAnnotatable)
SetAnnotation(String, Object, Boolean)

设置存储在给定名称下的批注。 如果已存在具有指定名称的批注,则覆盖现有批注。

(继承自 IConventionAnnotatable)
SetIsAccentSensitive(Nullable<Boolean>, Boolean)

设置一个值,该值指示全文目录是否区分重音。

SetIsDefault(Nullable<Boolean>, Boolean)

设置一个值,该值指示这是数据库的默认全文目录。

SetOrRemoveAnnotation(String, Object, Boolean)

设置存储在给定名称下的批注。 如果已存在具有指定名称的批注,则覆盖现有批注。 如果 null 已提供,则删除现有批注。

(继承自 IConventionAnnotatable)

适用于