Condividi tramite


SqlExpressionFactory.GetTypeMappingForValue(Object) Metodo

Definizione

Attenzione

Use IRelationalTypeMappingSource directly.

Ottiene il tipo di database relazionale per un oggetto specificato, che genera un'eccezione se non viene trovato alcun mapping.

public virtual Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetTypeMappingForValue (object value);
[System.Obsolete("Use IRelationalTypeMappingSource directly.")]
public virtual Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetTypeMappingForValue (object value);
[System.Obsolete("Use IRelationalTypeMappingSource directly.")]
public virtual Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetTypeMappingForValue (object? value);
abstract member GetTypeMappingForValue : obj -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
override this.GetTypeMappingForValue : obj -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
[<System.Obsolete("Use IRelationalTypeMappingSource directly.")>]
abstract member GetTypeMappingForValue : obj -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
override this.GetTypeMappingForValue : obj -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Public Overridable Function GetTypeMappingForValue (value As Object) As RelationalTypeMapping

Parametri

value
Object

Oggetto per cui ottenere il mapping.

Restituisce

Mapping dei tipi da utilizzare.

Implementazioni

Attributi

Si applica a