Share via


CoreStrings.KeyPropertyCannotBeNullable(Object, Object, Object) Method

Definition

The property '{1_entityType}.{0_property}' cannot be marked as nullable/optional because it has been included in the key {keyProperties}.

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

Parameters

property
Object
entityType
Object
keyPropertieskey
Object

Returns

Applies to