Sdílet prostřednictvím


SqlServerEntityTypeExtensions.SetPeriodEndPropertyName Metoda

Definice

Přetížení

SetPeriodEndPropertyName(IMutableEntityType, String)

Nastaví hodnotu představující název vlastnosti tečky u entity namapované na dočasnou tabulku.

SetPeriodEndPropertyName(IConventionEntityType, String, Boolean)

Nastaví hodnotu představující název vlastnosti tečky u entity namapované na dočasnou tabulku.

SetPeriodEndPropertyName(IMutableEntityType, String)

Nastaví hodnotu představující název vlastnosti tečky u entity namapované na dočasnou tabulku.

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 entity.

periodEndPropertyName
String

Hodnota k nastavení.

Platí pro

SetPeriodEndPropertyName(IConventionEntityType, String, Boolean)

Nastaví hodnotu představující název vlastnosti tečky u entity namapované na dočasnou tabulku.

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 entity.

periodEndPropertyName
String

Hodnota k nastavení.

fromDataAnnotation
Boolean

Určuje, zda byla konfigurace zadána pomocí datové poznámky.

Návraty

Nakonfigurovaná hodnota.

Platí pro