共用方式為


RelationalStrings.ErrorMaterializingPropertyNullReference 方法

定義

讀取屬性 '{entityType} 的資料庫值時發生錯誤。{property}'。 預期的類型為 '{expectedType}',但實際值為 Null。

public static string ErrorMaterializingPropertyNullReference (object entityType, object property, object expectedType);
public static string ErrorMaterializingPropertyNullReference (object? entityType, object? property, object? expectedType);
static member ErrorMaterializingPropertyNullReference : obj * obj * obj -> string
Public Shared Function ErrorMaterializingPropertyNullReference (entityType As Object, property As Object, expectedType As Object) As String

參數

entityType
Object
property
Object
expectedType
Object

傳回

適用於