Udostępnij za pośrednictwem


CoreStrings.DuplicateForeignKey Metoda

Definicja

Nie można dodać klucza obcego {foreignKeyProperties} do typu jednostki "{entityType}", ponieważ klucz obcy dla tych samych właściwości już istnieje w typie jednostki {duplicateEntityType}, a także elementem docelowym klucza {keyProperties} w obiekcie {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

Parametry

foreignKeyforeignKeyProperties
Object
entityType
Object
duplicateEntityType
Object
keykeyProperties
Object
principalType
Object

Zwraca

Dotyczy