Condividi tramite


SqlServerEntityTypeExtensions.SetPeriodEndPropertyName Metodo

Definizione

Overload

SetPeriodEndPropertyName(IMutableEntityType, String)

Imposta un valore che rappresenta il nome della proprietà end del periodo dell'entità mappata a una tabella temporale.

SetPeriodEndPropertyName(IConventionEntityType, String, Boolean)

Imposta un valore che rappresenta il nome della proprietà end del periodo dell'entità mappata a una tabella temporale.

SetPeriodEndPropertyName(IMutableEntityType, String)

Imposta un valore che rappresenta il nome della proprietà end del periodo dell'entità mappata a una tabella temporale.

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

Parametri

entityType
IMutableEntityType

Tipo di entità.

periodEndPropertyName
String

Il valore da impostare.

Si applica a

SetPeriodEndPropertyName(IConventionEntityType, String, Boolean)

Imposta un valore che rappresenta il nome della proprietà end del periodo dell'entità mappata a una tabella temporale.

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

Parametri

entityType
IConventionEntityType

Tipo di entità.

periodEndPropertyName
String

Il valore da impostare.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata usando un'annotazione dati.

Restituisce

Il valore configurato.

Si applica a