Udostępnij za pośrednictwem


SqlServerEntityTypeExtensions.SetPeriodEndPropertyName Metoda

Definicja

Przeciążenia

SetPeriodEndPropertyName(IMutableEntityType, String)

Ustawia wartość reprezentującą nazwę właściwości końcowej kropki jednostki zamapowanej na tabelę czasową.

SetPeriodEndPropertyName(IConventionEntityType, String, Boolean)

Ustawia wartość reprezentującą nazwę właściwości końcowej kropki jednostki zamapowanej na tabelę czasową.

SetPeriodEndPropertyName(IMutableEntityType, String)

Ustawia wartość reprezentującą nazwę właściwości końcowej kropki jednostki zamapowanej na tabelę czasową.

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)

Parametry

entityType
IMutableEntityType

Typ jednostki.

periodEndPropertyName
String

Wartość do ustawienia.

Dotyczy

SetPeriodEndPropertyName(IConventionEntityType, String, Boolean)

Ustawia wartość reprezentującą nazwę właściwości końcowej kropki jednostki zamapowanej na tabelę czasową.

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

Parametry

entityType
IConventionEntityType

Typ jednostki.

periodEndPropertyName
String

Wartość do ustawienia.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

Skonfigurowana wartość.

Dotyczy