CoreStrings.ErrorMaterializingPropertyInvalidCast 方法

定义

读取属性“{entityType}”的数据库值时出错。{property}”。 预期类型为“{expectedType}”,但实际值的类型为“{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

参数

entityType
Object
property
Object
expectedType
Object
actualType
Object

返回

适用于