Share via


CoreStrings.PropertyInUseKey(Object, Object, Object) Method

Definition

The property '{property}' cannot be removed from the type '{entityType}' because it is being used in the key {keyProperties}. All containing keys must be removed or redefined before the property can be removed.

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

Parameters

property
Object
entityType
Object
keykeyProperties
Object

Returns

Applies to