語言

SqlServerModelExtensions.AddFullTextCatalog Method

Definition

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.

Applies to