語言

CoreStrings.UnknownShadowKeyValue(Object, Object) 方法

定義

影子金鑰屬性 '{entityType} 的值。{property}' 在嘗試儲存變更時是未知的。 這是因為當實體未被追蹤時,影子屬性的價值無法被保留。 考慮將該屬性加入實體的 .NET 類型。 如需相關資訊,請參閱 https://aka.ms/efcore-docs-owned-collections 。

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

參數

entityType
Object
property
Object

傳回

適用於