CoreStrings.KeyPropertyMustBeReadOnly(Object, Object) Method

Definition

The property '{1_entityType}.{0_property}' must be marked as read-only after it has been saved because it is part of a key. Key properties are always read-only once an entity has been saved for the first time.

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

Parameters

property
Object
entityType
Object

Returns

Applies to