Lingua

RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.ThrowReadValueException<TValue> Metodo

Definizione

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in alcuna versione. È consigliabile usarlo direttamente nel codice con estrema cautela e sapere che questa operazione può causare errori dell'applicazione durante l'aggiornamento a una nuova versione Entity Framework Core.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static TValue ThrowReadValueException<TValue>(Exception exception, object? value, Type expectedType, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase? property = default);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member ThrowReadValueException : Exception * obj * Type * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> 'Value
Public Shared Function ThrowReadValueException(Of TValue) (exception As Exception, value As Object, expectedType As Type, Optional property As IPropertyBase = Nothing) As TValue

Parametri di tipo

TValue

Parametri

exception
Exception
value
Object
expectedType
Type
property
IPropertyBase

Valori restituiti

TValue
Attributi

Si applica a