Partager via


RelationalElementTypeExtensions.SetStoreType Méthode

Définition

Surcharges

SetStoreType(IMutableElementType, String)

Définit le type de base de données des éléments.

SetStoreType(IConventionElementType, String, Boolean)

Définit le type de base de données des éléments.

SetStoreType(IMutableElementType, String)

Définit le type de base de données des éléments.

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)

Paramètres

elementType
IMutableElementType

Élément.

value
String

Valeur à définir.

S’applique à

SetStoreType(IConventionElementType, String, Boolean)

Définit le type de base de données des éléments.

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

Paramètres

elementType
IConventionElementType

Élément.

value
String

Valeur à définir.

fromDataAnnotation
Boolean

Indique si la configuration a été spécifiée à l’aide d’une annotation de données.

Retours

Valeur configurée.

S’applique à