Lingua

CoreStrings.KeyOnNullableComplexProperty(Object, Object, Object) Method

Definition

The key {keyProperties} on the entity type '{entityType}' cannot be configured because the complex property '{property}' it traverses is configured as optional. Mark the complex property as required in order to use one of its properties as part of a key.

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

Parameters

keyProperties
Object
entityType
Object
property
Object

Returns

Applies to