Share via


SqlServerTableBuilderExtensions.IsTemporal Méthode

Définition

Surcharges

IsTemporal(OwnedNavigationTableBuilder, Action<OwnedNavigationTemporalTableBuilder>)

Configure la table comme temporelle.

IsTemporal(OwnedNavigationTableBuilder, Boolean)

Configure la table comme temporelle.

IsTemporal(TableBuilder, Action<TemporalTableBuilder>)

Configure la table comme temporelle.

IsTemporal(TableBuilder, Boolean)

Configure la table comme temporelle.

IsTemporal<TEntity>(TableBuilder<TEntity>, Boolean)

Configure la table comme temporelle.

IsTemporal<TEntity>(TableBuilder<TEntity>, Action<TemporalTableBuilder<TEntity>>)

Configure la table comme temporelle.

IsTemporal<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity, TDependentEntity>, Action<OwnedNavigationTemporalTableBuilder<TOwnerEntity, TDependentEntity>>)

Configure la table comme temporelle.

IsTemporal<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>, Boolean)

Configure la table comme temporelle.

IsTemporal(OwnedNavigationTableBuilder, Action<OwnedNavigationTemporalTableBuilder>)

Configure la table comme temporelle.

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

Paramètres

tableBuilder
OwnedNavigationTableBuilder

Générateur de la table en cours de configuration.

buildAction
Action<OwnedNavigationTemporalTableBuilder>

Action qui effectue la configuration de la table temporelle.

Retours

Le même générateur instance afin que plusieurs appels puissent être chaînés.

Remarques

Pour plus d’informations, consultez Utilisation de SQL Server tables temporelles avec EF Core.

S’applique à

IsTemporal(OwnedNavigationTableBuilder, Boolean)

Configure la table comme temporelle.

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

Paramètres

tableBuilder
OwnedNavigationTableBuilder

Générateur de la table en cours de configuration.

temporal
Boolean

Valeur indiquant si la table est temporelle.

Retours

Objet qui peut être utilisé pour configurer la table temporelle.

Remarques

Pour plus d’informations, consultez Utilisation de SQL Server tables temporelles avec EF Core.

S’applique à

IsTemporal(TableBuilder, Action<TemporalTableBuilder>)

Configure la table comme temporelle.

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

Paramètres

tableBuilder
TableBuilder

Générateur de la table en cours de configuration.

buildAction
Action<TemporalTableBuilder>

Action qui effectue la configuration de la table temporelle.

Retours

Le même générateur instance afin que plusieurs appels puissent être chaînés.

Remarques

Pour plus d’informations et d’exemples, consultez Utilisation de tables temporelles SQL Server avec EF Core.

S’applique à

IsTemporal(TableBuilder, Boolean)

Configure la table comme temporelle.

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

Paramètres

tableBuilder
TableBuilder

Générateur de la table en cours de configuration.

temporal
Boolean

Valeur indiquant si la table est temporelle.

Retours

Objet qui peut être utilisé pour configurer la table temporelle.

Remarques

Pour plus d’informations et d’exemples, consultez Utilisation de tables temporelles SQL Server avec EF Core.

S’applique à

IsTemporal<TEntity>(TableBuilder<TEntity>, Boolean)

Configure la table comme temporelle.

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)

Paramètres de type

TEntity

Type d'entité configuré.

Paramètres

tableBuilder
TableBuilder<TEntity>

Générateur de la table en cours de configuration.

temporal
Boolean

Valeur indiquant si la table est temporelle.

Retours

Objet qui peut être utilisé pour configurer la table temporelle.

Remarques

Pour plus d’informations et d’exemples, consultez Utilisation de tables temporelles SQL Server avec EF Core.

S’applique à

IsTemporal<TEntity>(TableBuilder<TEntity>, Action<TemporalTableBuilder<TEntity>>)

Configure la table comme temporelle.

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)

Paramètres de type

TEntity

Type d'entité configuré.

Paramètres

tableBuilder
TableBuilder<TEntity>

Générateur de la table en cours de configuration.

buildAction
Action<TemporalTableBuilder<TEntity>>

Action qui effectue la configuration de la table temporelle.

Retours

Le même générateur instance afin que plusieurs appels puissent être chaînés.

Remarques

Pour plus d’informations et d’exemples, consultez Utilisation de tables temporelles SQL Server avec EF Core.

S’applique à

IsTemporal<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity, TDependentEntity>, Action<OwnedNavigationTemporalTableBuilder<TOwnerEntity, TDependentEntity>>)

Configure la table comme temporelle.

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)

Paramètres de type

TOwnerEntity

Type d’entité propriétaire de la relation.

TDependentEntity

Type d’entité dépendant de la relation.

Paramètres

tableBuilder
OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>

Générateur de la table en cours de configuration.

buildAction
Action<OwnedNavigationTemporalTableBuilder<TOwnerEntity,TDependentEntity>>

Action qui effectue la configuration de la table temporelle.

Retours

Le même générateur instance afin que plusieurs appels puissent être chaînés.

Remarques

Pour plus d’informations, consultez Utilisation de SQL Server tables temporelles avec EF Core.

S’applique à

IsTemporal<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>, Boolean)

Configure la table comme temporelle.

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)

Paramètres de type

TOwnerEntity

Type d’entité propriétaire de la relation.

TDependentEntity

Type d’entité dépendant de la relation.

Paramètres

tableBuilder
OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>

Générateur de la table en cours de configuration.

temporal
Boolean

Valeur indiquant si la table est temporelle.

Retours

Objet qui peut être utilisé pour configurer la table temporelle.

Remarques

Pour plus d’informations, consultez Utilisation de SQL Server tables temporelles avec EF Core.

S’applique à