CoreStrings.KeyInUse 方法

定义

重载

KeyInUse(Object, Object, Object, Object)

无法从实体类型“{entityType}”中删除键 {keyProperties},因为它由在实体类型“{dependentType}”上定义的外键 {foreignKeyProperties} 引用。 在删除该键之前,请删除或更改所有引用外键的主体键。

KeyInUse(Object, Object, Object)

无法从实体类型“{entityType}”中删除键 {key},因为它由实体类型“{dependentType}”中的外键引用。 必须先删除或重新定义所有外键,然后才能删除引用的键。

KeyInUse(Object, Object, Object, Object)

无法从实体类型“{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)

无法从实体类型“{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

返回

适用于