Partilhar via


CoreStrings.DuplicateForeignKey Método

Definição

A chave estrangeira {foreignKeyProperties} não pode ser adicionada ao tipo de entidade '{entityType}' porque uma chave estrangeira nas mesmas propriedades já existe no tipo de entidade '{duplicateEntityType}' e também tem como alvo a chave {keyProperties} em '{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

Parâmetros

foreignKeyforeignKeyProperties
Object
entityType
Object
duplicateEntityType
Object
keykeyProperties
Object
principalType
Object

Retornos

Aplica-se a