Condividi tramite


SqlServerTableBuilderExtensions.IsTemporal Metodo

Definizione

Overload

IsTemporal(OwnedNavigationTableBuilder, Action<OwnedNavigationTemporalTableBuilder>)

Configura la tabella come temporale.

IsTemporal(OwnedNavigationTableBuilder, Boolean)

Configura la tabella come temporale.

IsTemporal(TableBuilder, Action<TemporalTableBuilder>)

Configura la tabella come temporale.

IsTemporal(TableBuilder, Boolean)

Configura la tabella come temporale.

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

Configura la tabella come temporale.

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

Configura la tabella come temporale.

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

Configura la tabella come temporale.

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

Configura la tabella come temporale.

IsTemporal(OwnedNavigationTableBuilder, Action<OwnedNavigationTemporalTableBuilder>)

Configura la tabella come temporale.

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

Parametri

tableBuilder
OwnedNavigationTableBuilder

Generatore per la tabella configurata.

buildAction
Action<OwnedNavigationTemporalTableBuilder>

Azione che esegue la configurazione della tabella temporale.

Restituisce

Stessa istanza del generatore in modo che sia possibile concatenare più chiamate.

Commenti

Per altre informazioni, vedere Uso di SQL Server tabelle temporali con EF Core.

Si applica a

IsTemporal(OwnedNavigationTableBuilder, Boolean)

Configura la tabella come temporale.

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

Parametri

tableBuilder
OwnedNavigationTableBuilder

Generatore per la tabella configurata.

temporal
Boolean

Valore che indica se la tabella è temporale.

Restituisce

Oggetto che può essere usato per configurare la tabella temporale.

Commenti

Per altre informazioni, vedere Uso di SQL Server tabelle temporali con EF Core.

Si applica a

IsTemporal(TableBuilder, Action<TemporalTableBuilder>)

Configura la tabella come temporale.

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

Parametri

tableBuilder
TableBuilder

Generatore per la tabella configurata.

buildAction
Action<TemporalTableBuilder>

Azione che esegue la configurazione della tabella temporale.

Restituisce

Stessa istanza del generatore in modo che sia possibile concatenare più chiamate.

Commenti

Per altre informazioni ed esempi, vedere Uso di SQL Server tabelle temporali con EF Core.

Si applica a

IsTemporal(TableBuilder, Boolean)

Configura la tabella come temporale.

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

Parametri

tableBuilder
TableBuilder

Generatore per la tabella configurata.

temporal
Boolean

Valore che indica se la tabella è temporale.

Restituisce

Oggetto che può essere usato per configurare la tabella temporale.

Commenti

Per altre informazioni ed esempi, vedere Uso di SQL Server tabelle temporali con EF Core.

Si applica a

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

Configura la tabella come temporale.

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)

Parametri di tipo

TEntity

Tipo di entità configurato.

Parametri

tableBuilder
TableBuilder<TEntity>

Generatore per la tabella configurata.

temporal
Boolean

Valore che indica se la tabella è temporale.

Restituisce

Oggetto che può essere usato per configurare la tabella temporale.

Commenti

Per altre informazioni ed esempi, vedere Uso di SQL Server tabelle temporali con EF Core.

Si applica a

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

Configura la tabella come temporale.

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)

Parametri di tipo

TEntity

Tipo di entità configurato.

Parametri

tableBuilder
TableBuilder<TEntity>

Generatore per la tabella configurata.

buildAction
Action<TemporalTableBuilder<TEntity>>

Azione che esegue la configurazione della tabella temporale.

Restituisce

Stessa istanza del generatore in modo che sia possibile concatenare più chiamate.

Commenti

Per altre informazioni ed esempi, vedere Uso di SQL Server tabelle temporali con EF Core.

Si applica a

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

Configura la tabella come temporale.

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)

Parametri di tipo

TOwnerEntity

Tipo di entità proprietario della relazione.

TDependentEntity

Tipo di entità dipendente della relazione.

Parametri

tableBuilder
OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>

Generatore per la tabella configurata.

buildAction
Action<OwnedNavigationTemporalTableBuilder<TOwnerEntity,TDependentEntity>>

Azione che esegue la configurazione della tabella temporale.

Restituisce

Stessa istanza del generatore in modo che sia possibile concatenare più chiamate.

Commenti

Per altre informazioni, vedere Uso di SQL Server tabelle temporali con EF Core.

Si applica a

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

Configura la tabella come temporale.

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)

Parametri di tipo

TOwnerEntity

Tipo di entità proprietario della relazione.

TDependentEntity

Tipo di entità dipendente della relazione.

Parametri

tableBuilder
OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>

Generatore per la tabella configurata.

temporal
Boolean

Valore che indica se la tabella è temporale.

Restituisce

Oggetto che può essere usato per configurare la tabella temporale.

Commenti

Per altre informazioni, vedere Uso di SQL Server tabelle temporali con EF Core.

Si applica a