Condividi tramite


RelationalElementTypeExtensions.SetStoreType Metodo

Definizione

Overload

SetStoreType(IMutableElementType, String)

Imposta il tipo di database degli elementi.

SetStoreType(IConventionElementType, String, Boolean)

Imposta il tipo di database degli elementi.

SetStoreType(IMutableElementType, String)

Imposta il tipo di database degli elementi.

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)

Parametri

elementType
IMutableElementType

Elemento.

value
String

Il valore da impostare.

Si applica a

SetStoreType(IConventionElementType, String, Boolean)

Imposta il tipo di database degli elementi.

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

Parametri

elementType
IConventionElementType

Elemento.

value
String

Il valore da impostare.

fromDataAnnotation
Boolean

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

Restituisce

Il valore configurato.

Si applica a