SqlServerEntityTypeExtensions.GetHistoryTableName(IReadOnlyEntityType) Method

Definition

Returns a value representing the name of the history table associated with the entity mapped to a temporal table.

public static string? GetHistoryTableName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetHistoryTableName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetHistoryTableName (entityType As IReadOnlyEntityType) As String

Parameters

entityType
IReadOnlyEntityType

The entity type.

Returns

Name of the history table.

Applies to