Udostępnij za pośrednictwem


CoreStrings.ConflictingRelationshipNavigation Metoda

Definicja

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