Sdílet prostřednictvím


RelationalElementTypeExtensions.SetStoreType Metoda

Definice

Přetížení

SetStoreType(IMutableElementType, String)

Nastaví typ databáze prvků.

SetStoreType(IConventionElementType, String, Boolean)

Nastaví typ databáze prvků.

SetStoreType(IMutableElementType, String)

Nastaví typ databáze prvků.

public static void SetStoreType (this Microsoft.EntityFrameworkCore.Metadata.IMutableElementType elementType, string? value);
static member SetStoreType : Microsoft.EntityFrameworkCore.Metadata.IMutableElementType * string -> unit
<Extension()>
Public Sub SetStoreType (elementType As IMutableElementType, value As String)

Parametry

elementType
IMutableElementType

Element .

value
String

Hodnota k nastavení.

Platí pro

SetStoreType(IConventionElementType, String, Boolean)

Nastaví typ databáze prvků.

public static string? SetStoreType (this Microsoft.EntityFrameworkCore.Metadata.IConventionElementType elementType, string? value, bool fromDataAnnotation = false);
static member SetStoreType : Microsoft.EntityFrameworkCore.Metadata.IConventionElementType * string * bool -> string
<Extension()>
Public Function SetStoreType (elementType As IConventionElementType, value As String, Optional fromDataAnnotation As Boolean = false) As String

Parametry

elementType
IConventionElementType

Element .

value
String

Hodnota k nastavení.

fromDataAnnotation
Boolean

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

Návraty

Nakonfigurovaná hodnota.

Platí pro