Compartilhar via


RelationalElementTypeExtensions.SetStoreType Método

Definição

Sobrecargas

SetStoreType(IMutableElementType, String)

Define o tipo de banco de dados dos elementos.

SetStoreType(IConventionElementType, String, Boolean)

Define o tipo de banco de dados dos elementos.

SetStoreType(IMutableElementType, String)

Define o tipo de banco de dados dos elementos.

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)

Parâmetros

elementType
IMutableElementType

O elemento .

value
String

O valor a ser definido.

Aplica-se a

SetStoreType(IConventionElementType, String, Boolean)

Define o tipo de banco de dados dos elementos.

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

Parâmetros

elementType
IConventionElementType

O elemento .

value
String

O valor a ser definido.

fromDataAnnotation
Boolean

Indica se a configuração foi especificada usando uma anotação de dados.

Retornos

O valor configurado.

Aplica-se a