Condividi tramite


CoreStrings.DuplicateForeignKey Metodo

Definizione

Impossibile aggiungere la chiave esterna {foreignKeyProperties} al tipo di entità '{entityType}' perché esiste già una chiave esterna nella stessa proprietà nel tipo di entità '{duplicateEntityType}' e ha come destinazione anche la chiave {keyProperties} in '{principalType}'.

public static string DuplicateForeignKey (object foreignKey, object entityType, object duplicateEntityType, object key, object principalType);
public static string DuplicateForeignKey (object foreignKeyProperties, object entityType, object duplicateEntityType, object keyProperties, object principalType);
public static string DuplicateForeignKey (object? foreignKeyProperties, object? entityType, object? duplicateEntityType, object? keyProperties, object? principalType);
static member DuplicateForeignKey : obj * obj * obj * obj * obj -> string
static member DuplicateForeignKey : obj * obj * obj * obj * obj -> string
Public Shared Function DuplicateForeignKey (foreignKey As Object, entityType As Object, duplicateEntityType As Object, key As Object, principalType As Object) As String
Public Shared Function DuplicateForeignKey (foreignKeyProperties As Object, entityType As Object, duplicateEntityType As Object, keyProperties As Object, principalType As Object) As String

Parametri

foreignKeyforeignKeyProperties
Object
entityType
Object
duplicateEntityType
Object
keykeyProperties
Object
principalType
Object

Restituisce

Si applica a