TemporalTableBuilder.HasPeriodEnd(String) Method

Definition

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

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder HasPeriodEnd (string propertyName);
abstract member HasPeriodEnd : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder
override this.HasPeriodEnd : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder
Public Overridable Function HasPeriodEnd (propertyName As String) As TemporalPeriodPropertyBuilder

Parameters

propertyName
String

The name of the period end property.

Returns

An object that can be used to configure the period end property.

Remarks

See Using SQL Server temporal tables with EF Core for more information and examples.

Applies to