TemporalPeriodPropertyBuilder.HasColumnName(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.
Configures the column name the period property maps to.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder HasColumnName (string name);
abstract member HasColumnName : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder
override this.HasColumnName : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalPeriodPropertyBuilder
Public Overridable Function HasColumnName (name As String) As TemporalPeriodPropertyBuilder
Parameters
- name
- String
The name of the column.
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 and examples.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework