Share via


CoreStrings.NullableKey(Object, Object) Method

Definition

A key on entity type '{entityType}' cannot contain the property '{property}' because it is nullable/optional. All properties on which a key is declared must be marked as non-nullable/required.

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

Parameters

entityType
Object
property
Object

Returns

Applies to