Compartir a través de


CoreStrings.AmbiguousForeignKeyPropertyCandidates Método

Definición

Ambas relaciones entre '{firstDependentToPrincipalNavigationSpecification}' y '{firstPrincipalToDependentNavigationSpecification}' y entre '{secondDependentToPrincipalNavigationSpecification}' y '{secondPrincipalToDependentNavigationSpecification}' podrían usar {foreignKeyProperties} como clave externa. Para resolverlo, configure las propiedades de clave externa explícitamente en "OnModelCreating" en al menos una de las relaciones.

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

Devoluciones

Se aplica a