OwnedNavigationTemporalPeriodPropertyBuilder.HasPrecision(Int32) Method

Definition

Configures the precision of the period property.

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

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