OwnedNavigationTemporalPeriodPropertyBuilder.HasPrecision(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework