Share via


TemporalPeriodPropertyBuilder.HasColumnName(String) Method

Definition

Configures the column name the period property maps to.

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

Parameters

name
String

The name of the column.

Returns

The same builder instance so that multiple calls can be chained.

Remarks

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

Applies to