CoreStrings.ErrorMaterializingPropertyInvalidCast Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An error occurred while reading a database value for property '{entityType}.{property}'. The expected type was '{expectedType}' but the actual value was of type '{actualType}'.
public static string ErrorMaterializingPropertyInvalidCast (object entityType, object property, object expectedType, object actualType);
public static string ErrorMaterializingPropertyInvalidCast (object? entityType, object? property, object? expectedType, object? actualType);
static member ErrorMaterializingPropertyInvalidCast : obj * obj * obj * obj -> string
Public Shared Function ErrorMaterializingPropertyInvalidCast (entityType As Object, property As Object, expectedType As Object, actualType As Object) As String
Parameters
- entityType
- Object
- property
- Object
- expectedType
- Object
- actualType
- Object
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework