CoreStrings.NullableKey(Object, Object) 方法

定义

实体类型“{entityType}”上的键不能包含属性“{property}”,因为它可为 null/可选。 声明键的所有属性都必须标记为不可为 null/必需。

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

参数

entityType
Object
property
Object

返回

适用于