SqlServerModelExtensions.AddFullTextCatalog 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 |
|---|---|
| AddFullTextCatalog(IMutableModel, String) |
Adds a full-text catalog to the model. |
| AddFullTextCatalog(IConventionModel, String, Boolean) |
Adds a full-text catalog to the model. |
AddFullTextCatalog(IMutableModel, String)
- Source:
- SqlServerModelExtensions.cs
Adds a full-text catalog to the model.
public static Microsoft.EntityFrameworkCore.Metadata.IMutableSqlServerFullTextCatalog AddFullTextCatalog(this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name);
static member AddFullTextCatalog : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableSqlServerFullTextCatalog
<Extension()>
Public Function AddFullTextCatalog (model As IMutableModel, name As String) As IMutableSqlServerFullTextCatalog
Parameters
- model
- IMutableModel
The model.
- name
- String
The name of the full-text catalog.
Returns
The IMutableSqlServerFullTextCatalog added to the model.
Remarks
See Full-Text Search for more information on SQL Server full-text search.
Applies to
AddFullTextCatalog(IConventionModel, String, Boolean)
- Source:
- SqlServerModelExtensions.cs
Adds a full-text catalog to the model.
public static Microsoft.EntityFrameworkCore.Metadata.IConventionSqlServerFullTextCatalog? AddFullTextCatalog(this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name, bool fromDataAnnotation = false);
static member AddFullTextCatalog : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionSqlServerFullTextCatalog
<Extension()>
Public Function AddFullTextCatalog (model As IConventionModel, name As String, Optional fromDataAnnotation As Boolean = false) As IConventionSqlServerFullTextCatalog
Parameters
- model
- IConventionModel
The model.
- name
- String
The name of the full-text catalog.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The IConventionSqlServerFullTextCatalog added to the model, or null if the catalog could not be
added.
Remarks
See Full-Text Search for more information on SQL Server full-text search.