Compartilhar via


SqlServerTableBuilderExtensions.IsTemporal Método

Definição

Sobrecargas

IsTemporal(OwnedNavigationTableBuilder, Action<OwnedNavigationTemporalTableBuilder>)

Configura a tabela como temporal.

IsTemporal(OwnedNavigationTableBuilder, Boolean)

Configura a tabela como temporal.

IsTemporal(TableBuilder, Action<TemporalTableBuilder>)

Configura a tabela como temporal.

IsTemporal(TableBuilder, Boolean)

Configura a tabela como temporal.

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

Configura a tabela como temporal.

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

Configura a tabela como temporal.

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

Configura a tabela como temporal.

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

Configura a tabela como temporal.

IsTemporal(OwnedNavigationTableBuilder, Action<OwnedNavigationTemporalTableBuilder>)

Configura a tabela como 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

Parâmetros

tableBuilder
OwnedNavigationTableBuilder

O construtor da tabela que está sendo configurada.

buildAction
Action<OwnedNavigationTemporalTableBuilder>

Uma ação que executa a configuração da tabela temporal.

Retornos

A mesma instância do construtor para que várias chamadas possam ser encadeadas.

Comentários

Consulte Usando SQL Server tabelas temporais com o EF Core para obter mais informações.

Aplica-se a

IsTemporal(OwnedNavigationTableBuilder, Boolean)

Configura a tabela como 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

Parâmetros

tableBuilder
OwnedNavigationTableBuilder

O construtor da tabela que está sendo configurada.

temporal
Boolean

Um valor que indica se a tabela é temporal.

Retornos

Um objeto que pode ser usado para configurar a tabela temporal.

Comentários

Consulte Usando SQL Server tabelas temporais com o EF Core para obter mais informações.

Aplica-se a

IsTemporal(TableBuilder, Action<TemporalTableBuilder>)

Configura a tabela como 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

Parâmetros

tableBuilder
TableBuilder

O construtor da tabela que está sendo configurada.

buildAction
Action<TemporalTableBuilder>

Uma ação que executa a configuração da tabela temporal.

Retornos

A mesma instância do construtor para que várias chamadas possam ser encadeadas.

Comentários

Consulte Usando SQL Server tabelas temporais com o EF Core para obter mais informações e exemplos.

Aplica-se a

IsTemporal(TableBuilder, Boolean)

Configura a tabela como 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

Parâmetros

tableBuilder
TableBuilder

O construtor da tabela que está sendo configurada.

temporal
Boolean

Um valor que indica se a tabela é temporal.

Retornos

Um objeto que pode ser usado para configurar a tabela temporal.

Comentários

Consulte Usando SQL Server tabelas temporais com o EF Core para obter mais informações e exemplos.

Aplica-se a

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

Configura a tabela como 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)

Parâmetros de tipo

TEntity

O tipo de entidade que está sendo configurado.

Parâmetros

tableBuilder
TableBuilder<TEntity>

O construtor da tabela que está sendo configurada.

temporal
Boolean

Um valor que indica se a tabela é temporal.

Retornos

Um objeto que pode ser usado para configurar a tabela temporal.

Comentários

Consulte Usando SQL Server tabelas temporais com o EF Core para obter mais informações e exemplos.

Aplica-se a

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

Configura a tabela como 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)

Parâmetros de tipo

TEntity

O tipo de entidade que está sendo configurado.

Parâmetros

tableBuilder
TableBuilder<TEntity>

O construtor da tabela que está sendo configurada.

buildAction
Action<TemporalTableBuilder<TEntity>>

Uma ação que executa a configuração da tabela temporal.

Retornos

A mesma instância do construtor para que várias chamadas possam ser encadeadas.

Comentários

Consulte Usando SQL Server tabelas temporais com o EF Core para obter mais informações e exemplos.

Aplica-se a

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

Configura a tabela como 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)

Parâmetros de tipo

TOwnerEntity

O tipo de entidade que possui a relação.

TDependentEntity

O tipo de entidade dependente da relação.

Parâmetros

tableBuilder
OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>

O construtor da tabela que está sendo configurada.

buildAction
Action<OwnedNavigationTemporalTableBuilder<TOwnerEntity,TDependentEntity>>

Uma ação que executa a configuração da tabela temporal.

Retornos

A mesma instância do construtor para que várias chamadas possam ser encadeadas.

Comentários

Consulte Usando SQL Server tabelas temporais com o EF Core para obter mais informações.

Aplica-se a

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

Configura a tabela como 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)

Parâmetros de tipo

TOwnerEntity

O tipo de entidade que possui a relação.

TDependentEntity

O tipo de entidade dependente da relação.

Parâmetros

tableBuilder
OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>

O construtor da tabela que está sendo configurada.

temporal
Boolean

Um valor que indica se a tabela é temporal.

Retornos

Um objeto que pode ser usado para configurar a tabela temporal.

Comentários

Consulte Usando SQL Server tabelas temporais com o EF Core para obter mais informações.

Aplica-se a