語言

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

定義

屬性 '{property}' 無法從 '{entityType}' 型別中移除,因為它被用於鍵 {keyProperties} 中。 所有包含的鍵必須先移除或重新定義,才能移除該屬性。

public static string PropertyInUseKey(object? property, object? entityType, object? keyProperties);
public static string PropertyInUseKey(object property, object entityType, object key);
public static string PropertyInUseKey(object property, object entityType, object keyProperties);
static member PropertyInUseKey : obj * obj * obj -> string
static member PropertyInUseKey : obj * obj * obj -> string
Public Shared Function PropertyInUseKey (property As Object, entityType As Object, keyProperties As Object) As String
Public Shared Function PropertyInUseKey (property As Object, entityType As Object, key As Object) As String

參數

property
Object
entityType
Object
keyPropertieskey
Object

傳回

適用於