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
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