TemporalTableBuilder.HasPeriodStart(String) 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.
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
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