RelationalStrings.ErrorMaterializingValueNullReference(Object) Method

Definition

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

C#
public static string ErrorMaterializingValueNullReference (object expectedType);
C#
public static string ErrorMaterializingValueNullReference (object? expectedType);

Parameters

expectedType
Object

Returns

Applies to

Product Versions
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0