SqlServerIndexBuilderExtensions.ForSqlServerIsCreatedOnline 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
ForSqlServerIsCreatedOnline(IndexBuilder, Boolean) |
Obsolete.
Configures whether the index is created with online option when targeting SQL Server. |
ForSqlServerIsCreatedOnline(IConventionIndexBuilder, Nullable<Boolean>, Boolean) |
Obsolete.
Configures whether the index is created with online option when targeting SQL Server. |
ForSqlServerIsCreatedOnline<TEntity>(IndexBuilder<TEntity>, Boolean) |
Obsolete.
Configures whether the index is created with online option when targeting SQL Server. |
ForSqlServerIsCreatedOnline(IndexBuilder, Boolean)
Caution
Use IsCreatedOnline
Configures whether the index is created with online option when targeting SQL Server.
[System.Obsolete("Use IsCreatedOnline")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder ForSqlServerIsCreatedOnline (this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder indexBuilder, bool createdOnline = true);
[<System.Obsolete("Use IsCreatedOnline")>]
static member ForSqlServerIsCreatedOnline : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder
<Extension()>
Public Function ForSqlServerIsCreatedOnline (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.
- Attributes
Applies to
ForSqlServerIsCreatedOnline(IConventionIndexBuilder, Nullable<Boolean>, Boolean)
Caution
Use IsCreatedOnline
Configures whether the index is created with online option when targeting SQL Server.
[System.Obsolete("Use IsCreatedOnline")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder ForSqlServerIsCreatedOnline (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, bool? createdOnline, bool fromDataAnnotation = false);
[<System.Obsolete("Use IsCreatedOnline")>]
static member ForSqlServerIsCreatedOnline : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Nullable<bool> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder
<Extension()>
Public Function ForSqlServerIsCreatedOnline (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.
- Attributes
Applies to
ForSqlServerIsCreatedOnline<TEntity>(IndexBuilder<TEntity>, Boolean)
Caution
Use IsCreatedOnline
Configures whether the index is created with online option when targeting SQL Server.
[System.Obsolete("Use IsCreatedOnline")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> ForSqlServerIsCreatedOnline<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> indexBuilder, bool createdOnline = true);
[<System.Obsolete("Use IsCreatedOnline")>]
static member ForSqlServerIsCreatedOnline : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity>
<Extension()>
Public Function ForSqlServerIsCreatedOnline(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.
- Attributes
Applies to
Entity Framework