Share via


RelationalStrings.ErrorMaterializingValueInvalidCast(Object, Object) Method

Definition

An error occurred while reading a database value. The expected type was '{expectedType}' but the actual value was of type '{actualType}'.

public static string ErrorMaterializingValueInvalidCast (object expectedType, object actualType);
public static string ErrorMaterializingValueInvalidCast (object? expectedType, object? actualType);
static member ErrorMaterializingValueInvalidCast : obj * obj -> string
Public Shared Function ErrorMaterializingValueInvalidCast (expectedType As Object, actualType As Object) As String

Parameters

expectedType
Object
actualType
Object

Returns

Applies to