CoreStrings.ConflictingRelationshipNavigation 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.
Przeciążenia
ConflictingRelationshipNavigation(Object, Object, Object, Object) |
Nie można utworzyć relacji między elementami "{newPrincipalNavigationSpecification}" i "{newDependentNavigationSpecification}", ponieważ relacja już istnieje między elementem "{existingPrincipalNavigationSpecification}" i "{existingDependentNavigationSpecification}". Nawigacje mogą uczestniczyć tylko w jednej relacji. Jeśli chcesz zastąpić istniejące wywołanie relacji "Ignoruj" w nawigacji "{newDependentNavigationSpecification}" najpierw w obszarze "OnModelCreating". |
ConflictingRelationshipNavigation(Object, Object, Object, Object, Object, Object, Object, Object) |
Nie można utworzyć relacji między elementem {newPrincipalEntityType}. {newPrincipalNavigation}" i "{newDependentEntityType}. {newDependentNavigation}", ponieważ istnieje już relacja między elementem {existingPrincipalEntityType}. {existingPrincipalNavigation}" i "{existingDependentEntityType}. {existingDependentNavigation}". Właściwości nawigacji mogą uczestniczyć tylko w jednej relacji. |
ConflictingRelationshipNavigation(Object, Object, Object, Object)
Nie można utworzyć relacji między elementami "{newPrincipalNavigationSpecification}" i "{newDependentNavigationSpecification}", ponieważ relacja już istnieje między elementem "{existingPrincipalNavigationSpecification}" i "{existingDependentNavigationSpecification}". Nawigacje mogą uczestniczyć tylko w jednej relacji. Jeśli chcesz zastąpić istniejące wywołanie relacji "Ignoruj" w nawigacji "{newDependentNavigationSpecification}" najpierw w obszarze "OnModelCreating".
public static string ConflictingRelationshipNavigation (object newPrincipalNavigationSpecification, object newDependentNavigationSpecification, object existingPrincipalNavigationSpecification, object existingDependentNavigationSpecification);
public static string ConflictingRelationshipNavigation (object? newPrincipalNavigationSpecification, object? newDependentNavigationSpecification, object? existingPrincipalNavigationSpecification, object? existingDependentNavigationSpecification);
static member ConflictingRelationshipNavigation : obj * obj * obj * obj -> string
Public Shared Function ConflictingRelationshipNavigation (newPrincipalNavigationSpecification As Object, newDependentNavigationSpecification As Object, existingPrincipalNavigationSpecification As Object, existingDependentNavigationSpecification As Object) As String
Parametry
- newPrincipalNavigationSpecification
- Object
- newDependentNavigationSpecification
- Object
- existingPrincipalNavigationSpecification
- Object
- existingDependentNavigationSpecification
- Object
Zwraca
Dotyczy
ConflictingRelationshipNavigation(Object, Object, Object, Object, Object, Object, Object, Object)
Nie można utworzyć relacji między elementem {newPrincipalEntityType}. {newPrincipalNavigation}" i "{newDependentEntityType}. {newDependentNavigation}", ponieważ istnieje już relacja między elementem {existingPrincipalEntityType}. {existingPrincipalNavigation}" i "{existingDependentEntityType}. {existingDependentNavigation}". Właściwości nawigacji mogą uczestniczyć tylko w jednej relacji.
public static string ConflictingRelationshipNavigation (object newPrincipalEntityType, object newPrincipalNavigation, object newDependentEntityType, object newDependentNavigation, object existingPrincipalEntityType, object existingPrincipalNavigation, object existingDependentEntityType, object existingDependentNavigation);
static member ConflictingRelationshipNavigation : obj * obj * obj * obj * obj * obj * obj * obj -> string
Public Shared Function ConflictingRelationshipNavigation (newPrincipalEntityType As Object, newPrincipalNavigation As Object, newDependentEntityType As Object, newDependentNavigation As Object, existingPrincipalEntityType As Object, existingPrincipalNavigation As Object, existingDependentEntityType As Object, existingDependentNavigation As Object) As String
Parametry
- newPrincipalEntityType
- Object
- newPrincipalNavigation
- Object
- newDependentEntityType
- Object
- newDependentNavigation
- Object
- existingPrincipalEntityType
- Object
- existingPrincipalNavigation
- Object
- existingDependentEntityType
- Object
- existingDependentNavigation
- Object
Zwraca
Dotyczy
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla