Condividi tramite


SqlServerEntityTypeExtensions.SetPeriodStartPropertyName Metodo

Definizione

Overload

SetPeriodStartPropertyName(IMutableEntityType, String)

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

SetPeriodStartPropertyName(IConventionEntityType, String, Boolean)

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

SetPeriodStartPropertyName(IMutableEntityType, String)

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

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

Parametri

entityType
IMutableEntityType

Tipo di entità.

periodStartPropertyName
String

Il valore da impostare.

Si applica a

SetPeriodStartPropertyName(IConventionEntityType, String, Boolean)

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

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

Parametri

entityType
IConventionEntityType

Tipo di entità.

periodStartPropertyName
String

Il valore da impostare.

fromDataAnnotation
Boolean

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

Restituisce

Il valore configurato.

Si applica a