SqlServerTableBuilderExtensions.IsTemporal 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
IsTemporal(OwnedNavigationTableBuilder, Action<OwnedNavigationTemporalTableBuilder>) |
Configures the table as temporal. |
IsTemporal(OwnedNavigationTableBuilder, Boolean) |
Configures the table as temporal. |
IsTemporal(TableBuilder, Action<TemporalTableBuilder>) |
Configures the table as temporal. |
IsTemporal(TableBuilder, Boolean) |
Configures the table as temporal. |
IsTemporal<TEntity>(TableBuilder<TEntity>, Boolean) |
Configures the table as temporal. |
IsTemporal<TEntity>(TableBuilder<TEntity>, Action<TemporalTableBuilder<TEntity>>) |
Configures the table as temporal. |
IsTemporal<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity, TDependentEntity>, Action<OwnedNavigationTemporalTableBuilder<TOwnerEntity, TDependentEntity>>) |
Configures the table as temporal. |
IsTemporal<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>, Boolean) |
Configures the table as temporal. |
IsTemporal(OwnedNavigationTableBuilder, Action<OwnedNavigationTemporalTableBuilder>)
Configures the table as temporal.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder IsTemporal (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder tableBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalTableBuilder> buildAction);
static member IsTemporal : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalTableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder
<Extension()>
Public Function IsTemporal (tableBuilder As OwnedNavigationTableBuilder, buildAction As Action(Of OwnedNavigationTemporalTableBuilder)) As OwnedNavigationTableBuilder
Parameters
- tableBuilder
- OwnedNavigationTableBuilder
The builder for the table being configured.
- buildAction
- Action<OwnedNavigationTemporalTableBuilder>
An action that performs configuration of the temporal table.
Returns
The same builder instance so that multiple calls can be chained.
Remarks
See Using SQL Server temporal tables with EF Core for more information.
Applies to
IsTemporal(OwnedNavigationTableBuilder, Boolean)
Configures the table as temporal.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalTableBuilder IsTemporal (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder tableBuilder, bool temporal = true);
static member IsTemporal : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalTableBuilder
<Extension()>
Public Function IsTemporal (tableBuilder As OwnedNavigationTableBuilder, Optional temporal As Boolean = true) As OwnedNavigationTemporalTableBuilder
Parameters
- tableBuilder
- OwnedNavigationTableBuilder
The builder for the table being configured.
- temporal
- Boolean
A value indicating whether the table is temporal.
Returns
An object that can be used to configure the temporal table.
Remarks
See Using SQL Server temporal tables with EF Core for more information.
Applies to
IsTemporal(TableBuilder, Action<TemporalTableBuilder>)
Configures the table as temporal.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder IsTemporal (this Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder tableBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder> buildAction);
static member IsTemporal : Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder
<Extension()>
Public Function IsTemporal (tableBuilder As TableBuilder, buildAction As Action(Of TemporalTableBuilder)) As TableBuilder
Parameters
- tableBuilder
- TableBuilder
The builder for the table being configured.
- buildAction
- Action<TemporalTableBuilder>
An action that performs configuration of the temporal table.
Returns
The same builder instance so that multiple calls can be chained.
Remarks
See Using SQL Server temporal tables with EF Core for more information and examples.
Applies to
IsTemporal(TableBuilder, Boolean)
Configures the table as temporal.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder IsTemporal (this Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder tableBuilder, bool temporal = true);
static member IsTemporal : Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder
<Extension()>
Public Function IsTemporal (tableBuilder As TableBuilder, Optional temporal As Boolean = true) As TemporalTableBuilder
Parameters
- tableBuilder
- TableBuilder
The builder for the table being configured.
- temporal
- Boolean
A value indicating whether the table is temporal.
Returns
An object that can be used to configure the temporal table.
Remarks
See Using SQL Server temporal tables with EF Core for more information and examples.
Applies to
IsTemporal<TEntity>(TableBuilder<TEntity>, Boolean)
Configures the table as temporal.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder<TEntity> IsTemporal<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TEntity> tableBuilder, bool temporal = true) where TEntity : class;
static member IsTemporal : Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<'Entity (requires 'Entity : null)> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function IsTemporal(Of TEntity As Class) (tableBuilder As TableBuilder(Of TEntity), Optional temporal As Boolean = true) As TemporalTableBuilder(Of TEntity)
Type Parameters
- TEntity
The entity type being configured.
Parameters
- tableBuilder
- TableBuilder<TEntity>
The builder for the table being configured.
- temporal
- Boolean
A value indicating whether the table is temporal.
Returns
An object that can be used to configure the temporal table.
Remarks
See Using SQL Server temporal tables with EF Core for more information and examples.
Applies to
IsTemporal<TEntity>(TableBuilder<TEntity>, Action<TemporalTableBuilder<TEntity>>)
Configures the table as temporal.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TEntity> IsTemporal<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<TEntity> tableBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder<TEntity>> buildAction) where TEntity : class;
static member IsTemporal : Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<'Entity (requires 'Entity : null)> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder<'Entity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function IsTemporal(Of TEntity As Class) (tableBuilder As TableBuilder(Of TEntity), buildAction As Action(Of TemporalTableBuilder(Of TEntity))) As TableBuilder(Of TEntity)
Type Parameters
- TEntity
The entity type being configured.
Parameters
- tableBuilder
- TableBuilder<TEntity>
The builder for the table being configured.
- buildAction
- Action<TemporalTableBuilder<TEntity>>
An action that performs configuration of the temporal table.
Returns
The same builder instance so that multiple calls can be chained.
Remarks
See Using SQL Server temporal tables with EF Core for more information and examples.
Applies to
IsTemporal<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity, TDependentEntity>, Action<OwnedNavigationTemporalTableBuilder<TOwnerEntity, TDependentEntity>>)
Configures the table as temporal.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity> IsTemporal<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity> tableBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalTableBuilder<TOwnerEntity,TDependentEntity>> buildAction) where TOwnerEntity : class where TDependentEntity : class;
static member IsTemporal : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalTableBuilder<'OwnerEntity, 'DependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function IsTemporal(Of TOwnerEntity As Class, TDependentEntity As Class) (tableBuilder As OwnedNavigationTableBuilder(Of TOwnerEntity, TDependentEntity), buildAction As Action(Of OwnedNavigationTemporalTableBuilder(Of TOwnerEntity, TDependentEntity))) As OwnedNavigationTableBuilder(Of TOwnerEntity, TDependentEntity)
Type Parameters
- TOwnerEntity
The entity type owning the relationship.
- TDependentEntity
The dependent entity type of the relationship.
Parameters
The builder for the table being configured.
- buildAction
- Action<OwnedNavigationTemporalTableBuilder<TOwnerEntity,TDependentEntity>>
An action that performs configuration of the temporal table.
Returns
The same builder instance so that multiple calls can be chained.
Remarks
See Using SQL Server temporal tables with EF Core for more information.
Applies to
IsTemporal<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>, Boolean)
Configures the table as temporal.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalTableBuilder<TOwnerEntity,TDependentEntity> IsTemporal<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity> tableBuilder, bool temporal = true) where TOwnerEntity : class where TDependentEntity : class;
static member IsTemporal : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalTableBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function IsTemporal(Of TOwnerEntity As Class, TDependentEntity As Class) (tableBuilder As OwnedNavigationTableBuilder(Of TOwnerEntity, TDependentEntity), Optional temporal As Boolean = true) As OwnedNavigationTemporalTableBuilder(Of TOwnerEntity, TDependentEntity)
Type Parameters
- TOwnerEntity
The entity type owning the relationship.
- TDependentEntity
The dependent entity type of the relationship.
Parameters
The builder for the table being configured.
- temporal
- Boolean
A value indicating whether the table is temporal.
Returns
An object that can be used to configure the temporal table.
Remarks
See Using SQL Server temporal tables with EF Core for more information.
Applies to
Entity Framework