Delen via


TemporalTableBuilder<TEntity> Class

Definition

Instances of this class are returned from methods when using the ModelBuilder API and it is not designed to be directly constructed in your application code.

public class TemporalTableBuilder<TEntity> : Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder where TEntity : class
type TemporalTableBuilder<'Entity (requires 'Entity : null)> = class
    inherit TemporalTableBuilder
Public Class TemporalTableBuilder(Of TEntity)
Inherits TemporalTableBuilder

Type Parameters

TEntity

The entity type being configured.

Inheritance
TemporalTableBuilder<TEntity>

Constructors

TemporalTableBuilder<TEntity>(EntityTypeBuilder)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

TemporalTableBuilder<TEntity>(IMutableEntityType)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

Methods

HasPeriodEnd(String)

Returns an object that can be used to configure a period end property of the entity type mapped to a temporal table.

(Inherited from TemporalTableBuilder)
HasPeriodStart(String)

Returns an object that can be used to configure a period start property of the entity type mapped to a temporal table.

(Inherited from TemporalTableBuilder)
UseHistoryTable(String, String)

Configures a history table for the entity mapped to a temporal table.

UseHistoryTable(String)

Configures a history table for the entity mapped to a temporal table.

UseHistoryTable(String)

Configures a history table for the entity mapped to a temporal table.

(Inherited from TemporalTableBuilder)

Applies to