SqlServerIndexExtensions.SetFullTextCatalog 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| SetFullTextCatalog(IMutableIndex, String) |
设置全文索引的全文目录名称。 |
| SetFullTextCatalog(IConventionIndex, String, Boolean) |
设置全文索引的全文目录名称。 |
SetFullTextCatalog(IMutableIndex, String)
- Source:
- SqlServerIndexExtensions.cs
设置全文索引的全文目录名称。
public static void SetFullTextCatalog(this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, string? catalogName);
static member SetFullTextCatalog : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * string -> unit
<Extension()>
Public Sub SetFullTextCatalog (index As IMutableIndex, catalogName As String)
参数
- index
- IMutableIndex
索引。
- catalogName
- String
要设置的目录名称。
适用于
SetFullTextCatalog(IConventionIndex, String, Boolean)
- Source:
- SqlServerIndexExtensions.cs
设置全文索引的全文目录名称。
public static string? SetFullTextCatalog(this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, string? catalogName, bool fromDataAnnotation = false);
static member SetFullTextCatalog : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * string * bool -> string
<Extension()>
Public Function SetFullTextCatalog (index As IConventionIndex, catalogName As String, Optional fromDataAnnotation As Boolean = false) As String
参数
- index
- IConventionIndex
索引。
- catalogName
- String
要设置的目录名称。
- fromDataAnnotation
- Boolean
指示是否使用数据注释指定了配置。
返回
配置的值。