CoreStrings.KeyPropertyMustBeReadOnly(Object, Object) 方法

定义

属性“{1_entityType}。{0_property}'在保存后必须标记为只读,因为它是密钥的一部分。 首次保存实体后,键属性始终为只读。

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

参数

property
Object
entityType
Object

返回

适用于