語言

CoreStrings.KeyInUse 方法

定義

多載

名稱 Description
KeyInUse(Object, Object, Object, Object)

無法從實體類型 '{entityType}'' 中移除金鑰 {keyProperties},因為它是由定義在實體類型 '{dependentType}'' 上的外鍵 {foreignKeyProperties} 所引用。 移除或更改所有引用外鍵的主鍵,再移除該金鑰。

KeyInUse(Object, Object, Object)

無法移除實體類型 '{entityType}' 中的 {key} 鍵,因為它是由實體類型 '{dependentType}'' 的外鍵所引用。 所有外鍵必須先移除或重新定義,才能移除所參考的金鑰。

KeyInUse(Object, Object, Object, Object)

來源:
CoreStrings.Designer.cs
來源:
CoreStrings.Designer.cs
來源:
CoreStrings.Designer.cs
來源:
CoreStrings.Designer.cs
來源:
CoreStrings.Designer.cs
來源:
CoreStrings.Designer.cs
來源:
CoreStrings.Designer.cs

無法從實體類型 '{entityType}'' 中移除金鑰 {keyProperties},因為它是由定義在實體類型 '{dependentType}'' 上的外鍵 {foreignKeyProperties} 所引用。 移除或更改所有引用外鍵的主鍵,再移除該金鑰。

public static string KeyInUse(object? keyProperties, object? entityType, object? foreignKeyProperties, object? dependentType);
public static string KeyInUse(object keyProperties, object entityType, object foreignKeyProperties, object dependentType);
static member KeyInUse : obj * obj * obj * obj -> string
Public Shared Function KeyInUse (keyProperties As Object, entityType As Object, foreignKeyProperties As Object, dependentType As Object) As String

參數

keyProperties
Object
entityType
Object
foreignKeyProperties
Object
dependentType
Object

傳回

適用於

KeyInUse(Object, Object, Object)

來源:
CoreStrings.Designer.cs
來源:
CoreStrings.Designer.cs

無法移除實體類型 '{entityType}' 中的 {key} 鍵,因為它是由實體類型 '{dependentType}'' 的外鍵所引用。 所有外鍵必須先移除或重新定義,才能移除所參考的金鑰。

public static string KeyInUse(object key, object entityType, object dependentType);
static member KeyInUse : obj * obj * obj -> string
Public Shared Function KeyInUse (key As Object, entityType As Object, dependentType As Object) As String

參數

key
Object
entityType
Object
dependentType
Object

傳回

適用於