共用方式為


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

定義

屬性 '{1_entityType}。{0_property}' 無法標示為可為 Null/選擇性,因為它已包含在金鑰 {keyProperties}中。

public static string KeyPropertyCannotBeNullable (object property, object entityType, object key);
public static string KeyPropertyCannotBeNullable (object property, object entityType, object keyProperties);
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, key As Object) As String
Public Shared Function KeyPropertyCannotBeNullable (property As Object, entityType As Object, keyProperties As Object) As String

參數

property
Object
entityType
Object
keykeyProperties
Object

傳回

適用於