Compartir a través de


CoreStrings.ConflictingRelationshipNavigation Método

Definición

Sobrecargas

ConflictingRelationshipNavigation(Object, Object, Object, Object)

No se puede crear una relación entre '{newPrincipalNavigationSpecification}' y '{newDependentNavigationSpecification}' porque ya existe una relación entre '{existingPrincipalNavigationSpecification}' y '{existingDependentNavigationSpecification}'. Las navegaciones solo pueden participar en una única relación. Si desea invalidar una llamada de relación existente 'Ignore' en la navegación '{newDependentNavigationSpecification}' primero en 'OnModelCreating'.

ConflictingRelationshipNavigation(Object, Object, Object, Object, Object, Object, Object, Object)

No se puede crear una relación entre '{newPrincipalEntityType}. {newPrincipalNavigation}" y '{newDependentEntityType}. {newDependentNavigation}' porque ya existe una relación entre '{existingPrincipalEntityType}. {existingPrincipalNavigation}" y '{existingDependentEntityType}. {existingDependentNavigation}'. Las propiedades de navegación solo pueden participar en una única relación.

ConflictingRelationshipNavigation(Object, Object, Object, Object)

No se puede crear una relación entre '{newPrincipalNavigationSpecification}' y '{newDependentNavigationSpecification}' porque ya existe una relación entre '{existingPrincipalNavigationSpecification}' y '{existingDependentNavigationSpecification}'. Las navegaciones solo pueden participar en una única relación. Si desea invalidar una llamada de relación existente 'Ignore' en la navegación '{newDependentNavigationSpecification}' primero en '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

Parámetros

newPrincipalNavigationSpecification
Object
newDependentNavigationSpecification
Object
existingPrincipalNavigationSpecification
Object
existingDependentNavigationSpecification
Object

Devoluciones

Se aplica a

ConflictingRelationshipNavigation(Object, Object, Object, Object, Object, Object, Object, Object)

No se puede crear una relación entre '{newPrincipalEntityType}. {newPrincipalNavigation}" y '{newDependentEntityType}. {newDependentNavigation}' porque ya existe una relación entre '{existingPrincipalEntityType}. {existingPrincipalNavigation}" y '{existingDependentEntityType}. {existingDependentNavigation}'. Las propiedades de navegación solo pueden participar en una única relación.

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

Parámetros

newPrincipalEntityType
Object
newPrincipalNavigation
Object
newDependentEntityType
Object
newDependentNavigation
Object
existingPrincipalEntityType
Object
existingPrincipalNavigation
Object
existingDependentEntityType
Object
existingDependentNavigation
Object

Devoluciones

Se aplica a