SqlServerEntityTypeExtensions.SetHistoryTableSchema Method

Definition

Overloads

SetHistoryTableSchema(IMutableEntityType, String)

Sets a value representing the schema of the history table associated with the entity mapped to a temporal table.

SetHistoryTableSchema(IConventionEntityType, String, Boolean)

Sets a value representing the schema of the history table associated with the entity mapped to a temporal table.

SetHistoryTableSchema(IMutableEntityType, String)

Sets a value representing the schema of the history table associated with the entity mapped to a temporal table.

public static void SetHistoryTableSchema (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string? historyTableSchema);
static member SetHistoryTableSchema : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * string -> unit
<Extension()>
Public Sub SetHistoryTableSchema (entityType As IMutableEntityType, historyTableSchema As String)

Parameters

entityType
IMutableEntityType

The entity type.

historyTableSchema
String

The value to set.

Applies to

SetHistoryTableSchema(IConventionEntityType, String, Boolean)

Sets a value representing the schema of the history table associated with the entity mapped to a temporal table.

public static string? SetHistoryTableSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, string? historyTableSchema, bool fromDataAnnotation = false);
static member SetHistoryTableSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * string * bool -> string
<Extension()>
Public Function SetHistoryTableSchema (entityType As IConventionEntityType, historyTableSchema As String, Optional fromDataAnnotation As Boolean = false) As String

Parameters

entityType
IConventionEntityType

The entity type.

historyTableSchema
String

The value to set.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to