语言

CoreStrings.KeyOnNullableComplexProperty(Object, Object, Object) 方法

定义

无法配置实体类型“{entityType}”上的键 {keyProperties},因为它遍历的复杂属性“{property}”配置为可选。 将复杂属性标记为必需,以便将其属性之一用作键的一部分。

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

参数

keyProperties
Object
entityType
Object
property
Object

返回

适用于