Partilhar via


CoreStrings.AmbiguousForeignKeyPropertyCandidates Método

Definição

As relações entre '{firstDependentToPrincipalNavigationSpecification}' e '{firstPrincipalToDependentNavigationSpecification}' e entre '{secondDependentToPrincipalNavigationSpecification}' e '{secondPrincipalToDependentNavigationSpecification}' podem usar {foreignKeyProperties} como a chave estrangeira. Para resolve isso, configure as propriedades de chave estrangeira explicitamente em 'OnModelCreating' em pelo menos uma das relações.

public static string AmbiguousForeignKeyPropertyCandidates (object firstDependentToPrincipalNavigationSpecification, object firstPrincipalToDependentNavigationSpecification, object secondDependentToPrincipalNavigationSpecification, object secondPrincipalToDependentNavigationSpecification, object foreignKeyProperties);
public static string AmbiguousForeignKeyPropertyCandidates (object? firstDependentToPrincipalNavigationSpecification, object? firstPrincipalToDependentNavigationSpecification, object? secondDependentToPrincipalNavigationSpecification, object? secondPrincipalToDependentNavigationSpecification, object? foreignKeyProperties);
static member AmbiguousForeignKeyPropertyCandidates : obj * obj * obj * obj * obj -> string
Public Shared Function AmbiguousForeignKeyPropertyCandidates (firstDependentToPrincipalNavigationSpecification As Object, firstPrincipalToDependentNavigationSpecification As Object, secondDependentToPrincipalNavigationSpecification As Object, secondPrincipalToDependentNavigationSpecification As Object, foreignKeyProperties As Object) As String

Parâmetros

firstDependentToPrincipalNavigationSpecification
Object
firstPrincipalToDependentNavigationSpecification
Object
secondDependentToPrincipalNavigationSpecification
Object
secondPrincipalToDependentNavigationSpecification
Object
foreignKeyProperties
Object

Retornos

Aplica-se a