CoreStrings.AmbiguousForeignKeyPropertyCandidates Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Obie relacje między elementami "{firstDependentToPrincipalNavigationSpecification}" i "{firstPrincipalToDependentNavigationSpecification}" i między elementami "{secondDependentToPrincipalNavigationSpecification}" i "{secondPrincipalToDependentNavigationSpecification}" mogą używać elementu {foreignKeyProperties} jako klucza obcego. Aby rozwiązać ten problem, należy jawnie skonfigurować właściwości klucza obcego w sekcji "OnModelCreating" w co najmniej jednej relacji.
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
Parametry
- firstDependentToPrincipalNavigationSpecification
- Object
- firstPrincipalToDependentNavigationSpecification
- Object
- secondDependentToPrincipalNavigationSpecification
- Object
- secondPrincipalToDependentNavigationSpecification
- Object
- foreignKeyProperties
- Object