語言

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

定義

性質 '{1_entityType}。{0_property}' 無法被標記為可空/可選,因為它已被包含在 {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

傳回

適用於