CoreStrings.ErrorMaterializingValueInvalidCast(Object, Object) Method

Definition

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

C#
public static string ErrorMaterializingValueInvalidCast (object expectedType, object actualType);

Parameters

expectedType
Object
actualType
Object

Returns

Applies to

Product Versions
Entity Framework Core 3.0, 3.1