Delen via


TemporalTableBuilder.HasPeriodStart(String) Method

Definition

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

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

Parameters

propertyName
String

The name of the period start property.

Returns

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

Remarks

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

Applies to