Bagikan melalui


CoreStrings.KeyInUse Metode

Definisi

Overload

KeyInUse(Object, Object, Object, Object)

Tidak dapat menghapus kunci {keyProperties} dari tipe entitas '{entityType}' karena dirujuk oleh kunci asing {foreignKeyProperties} yang ditentukan pada tipe entitas '{dependentType}'. Hapus atau ubah kunci utama untuk semua merujuk kunci asing sebelum menghapus kunci.

KeyInUse(Object, Object, Object)

Tidak dapat menghapus kunci {key} dari tipe entitas '{entityType}' karena dirujuk oleh kunci asing dalam tipe entitas '{dependentType}'. Semua kunci asing harus dihapus atau didefinisikan ulang sebelum kunci yang direferensikan dapat dihapus.

KeyInUse(Object, Object, Object, Object)

Tidak dapat menghapus kunci {keyProperties} dari tipe entitas '{entityType}' karena dirujuk oleh kunci asing {foreignKeyProperties} yang ditentukan pada tipe entitas '{dependentType}'. Hapus atau ubah kunci utama untuk semua merujuk kunci asing sebelum menghapus kunci.

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

Parameter

keyProperties
Object
entityType
Object
foreignKeyProperties
Object
dependentType
Object

Mengembalikan

Berlaku untuk

KeyInUse(Object, Object, Object)

Tidak dapat menghapus kunci {key} dari tipe entitas '{entityType}' karena dirujuk oleh kunci asing dalam tipe entitas '{dependentType}'. Semua kunci asing harus dihapus atau didefinisikan ulang sebelum kunci yang direferensikan dapat dihapus.

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

Parameter

key
Object
entityType
Object
dependentType
Object

Mengembalikan

Berlaku untuk