RelationalStrings.ErrorMaterializingValueInvalidCast(Object, Object) 方法

定义

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

参数

expectedType
Object
actualType
Object

返回

适用于