TemporalTableBuilder.HasPeriodEnd(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 end property of the entity type mapped to a temporal table.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder HasPeriodEnd (string propertyName);
abstract member HasPeriodEnd : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder
override this.HasPeriodEnd : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder
Public Overridable Function HasPeriodEnd (propertyName As String) As TemporalPeriodPropertyBuilder
Parameters
- propertyName
- String
The name of the period end property.
Returns
An object that can be used to configure the period end property.
Remarks
See Using SQL Server temporal tables with EF Core for more information and examples.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for