SqlServerIndexExtensions.SetFullTextKeyIndex Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SetFullTextKeyIndex(IConventionIndex, String, Boolean) |
Sets the KEY INDEX name for the full-text index. Setting a non-null value marks this index as a full-text index. |
| SetFullTextKeyIndex(IMutableIndex, String) |
Sets the KEY INDEX name for the full-text index. Setting a non-null value marks this index as a full-text index. |
SetFullTextKeyIndex(IConventionIndex, String, Boolean)
- Source:
- SqlServerIndexExtensions.cs
Sets the KEY INDEX name for the full-text index. Setting a non-null value marks this index as a full-text index.
public static string? SetFullTextKeyIndex(this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, string? keyIndexName, bool fromDataAnnotation = false);
static member SetFullTextKeyIndex : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * string * bool -> string
<Extension()>
Public Function SetFullTextKeyIndex (index As IConventionIndex, keyIndexName As String, Optional fromDataAnnotation As Boolean = false) As String
Parameters
- index
- IConventionIndex
The index.
- keyIndexName
- String
The KEY INDEX name to set.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The configured value.
Applies to
SetFullTextKeyIndex(IMutableIndex, String)
- Source:
- SqlServerIndexExtensions.cs
Sets the KEY INDEX name for the full-text index. Setting a non-null value marks this index as a full-text index.
public static void SetFullTextKeyIndex(this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, string? keyIndexName);
static member SetFullTextKeyIndex : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * string -> unit
<Extension()>
Public Sub SetFullTextKeyIndex (index As IMutableIndex, keyIndexName As String)
Parameters
- index
- IMutableIndex
The index.
- keyIndexName
- String
The KEY INDEX name to set.