SqlServerIndexBuilderExtensions.IsCreatedOnline 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
| IsCreatedOnline(IndexBuilder, Boolean) | 
						 Configures whether the index is created with online option when targeting SQL Server.  | 
        	
| IsCreatedOnline(IConventionIndexBuilder, Nullable<Boolean>, Boolean) | 
						 Configures whether the index is created with online option when targeting SQL Server.  | 
        	
| IsCreatedOnline<TEntity>(IndexBuilder<TEntity>, Boolean) | 
						 Configures whether the index is created with online option when targeting SQL Server.  | 
        	
IsCreatedOnline(IndexBuilder, Boolean)
Configures whether the index is created with online option when targeting SQL Server.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder IsCreatedOnline(this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder indexBuilder, bool createdOnline = true);
	static member IsCreatedOnline : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder
	<Extension()>
Public Function IsCreatedOnline (indexBuilder As IndexBuilder, Optional createdOnline As Boolean = true) As IndexBuilder
	Parameters
- indexBuilder
 - IndexBuilder
 
The builder for the index being configured.
- createdOnline
 - Boolean
 
A value indicating whether the index is created with online option.
Returns
A builder to further configure the index.
Remarks
See Modeling entity types and relationships, and Accessing SQL Server and Azure SQL databases with EF Core for more information and examples.
Applies to
IsCreatedOnline(IConventionIndexBuilder, Nullable<Boolean>, Boolean)
Configures whether the index is created with online option when targeting SQL Server.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder IsCreatedOnline(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, bool? createdOnline, bool fromDataAnnotation = false);
	public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder? IsCreatedOnline(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, bool? createdOnline, bool fromDataAnnotation = false);
	static member IsCreatedOnline : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Nullable<bool> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder
	<Extension()>
Public Function IsCreatedOnline (indexBuilder As IConventionIndexBuilder, createdOnline As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As IConventionIndexBuilder
	Parameters
- indexBuilder
 - IConventionIndexBuilder
 
The builder for the index being configured.
- fromDataAnnotation
 - Boolean
 
Indicates whether the configuration was specified using a data annotation.
Returns
The same builder instance if the configuration was applied,
null otherwise.
Remarks
See Modeling entity types and relationships, and Accessing SQL Server and Azure SQL databases with EF Core for more information and examples.
Applies to
IsCreatedOnline<TEntity>(IndexBuilder<TEntity>, Boolean)
Configures whether the index is created with online option when targeting SQL Server.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> IsCreatedOnline<TEntity>(this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> indexBuilder, bool createdOnline = true);
	static member IsCreatedOnline : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity>
	<Extension()>
Public Function IsCreatedOnline(Of TEntity) (indexBuilder As IndexBuilder(Of TEntity), Optional createdOnline As Boolean = true) As IndexBuilder(Of TEntity)
    Type Parameters
- TEntity
 
Parameters
- indexBuilder
 - IndexBuilder<TEntity>
 
The builder for the index being configured.
- createdOnline
 - Boolean
 
A value indicating whether the index is created with online option.
Returns
A builder to further configure the index.
Remarks
See Modeling entity types and relationships, and Accessing SQL Server and Azure SQL databases with EF Core for more information and examples.