语言

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

定义

属性“{1_entityType}”。{0_property} '不能标记为可为 null/可选,因为它已包含在密钥 {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

参数

property
Object
entityType
Object
keyPropertieskey
Object

返回

适用于