CosmosIndexBuilderExtensions.CanSetIsFullTextIndex 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.
Returns a value indicating whether the index can be configured as a full-text index.
public static bool CanSetIsFullTextIndex(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, bool? fullTextIndex, bool fromDataAnnotation = false);
static member CanSetIsFullTextIndex : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Nullable<bool> * bool -> bool
<Extension()>
Public Function CanSetIsFullTextIndex (indexBuilder As IConventionIndexBuilder, fullTextIndex As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Boolean
Parameters
- indexBuilder
- IConventionIndexBuilder
The builder for the index being configured.
The value indicating whether the index is configured for Full-text search.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
true if the index can be configured as a Full-text index.
Remarks
See Modeling entity types and relationships, and Accessing Azure Cosmos DB with EF Core for more information and examples.