Share via


TemporalPeriodPropertyBuilder.HasPrecision(Int32) Method

Definition

Configures the precision of the period property.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder HasPrecision (int precision);
abstract member HasPrecision : int -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder
override this.HasPrecision : int -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder
Public Overridable Function HasPrecision (precision As Integer) As TemporalPeriodPropertyBuilder

Parameters

precision
Int32

The precision of the period property.

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.

Applies to