Sdílet prostřednictvím


CoreStrings.ConflictingRelationshipNavigation Metoda

Definice

Přetížení

ConflictingRelationshipNavigation(Object, Object, Object, Object)

Nelze vytvořit relaci mezi {newPrincipalNavigationSpecification} a {newDependentNavigationSpecification}, protože relace mezi {existingPrincipalNavigationSpecification} a {existingDependentNavigationSpecification} již existuje. Navigace se můžou účastnit jenom jedné relace. Pokud chcete přepsat existující relaci, zavolejte "Ignorovat" v navigaci {newDependentNavigationSpecification} nejprve v onModelCreating.

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

Nelze vytvořit relaci mezi {newPrincipalEntityType}. {newPrincipalNavigation} a {newDependentEntityType}. {newDependentNavigation}, protože mezi {existingPrincipalEntityType} již existuje relace. {existingPrincipalNavigation} a {existingDependentEntityType}. {existingDependentNavigation}. Vlastnosti navigace se můžou účastnit pouze jedné relace.

ConflictingRelationshipNavigation(Object, Object, Object, Object)

Nelze vytvořit relaci mezi {newPrincipalNavigationSpecification} a {newDependentNavigationSpecification}, protože relace mezi {existingPrincipalNavigationSpecification} a {existingDependentNavigationSpecification} již existuje. Navigace se můžou účastnit jenom jedné relace. Pokud chcete přepsat existující relaci, zavolejte "Ignorovat" v navigaci {newDependentNavigationSpecification} nejprve v 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

Návraty

Platí pro

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

Nelze vytvořit relaci mezi {newPrincipalEntityType}. {newPrincipalNavigation} a {newDependentEntityType}. {newDependentNavigation}, protože mezi {existingPrincipalEntityType} již existuje relace. {existingPrincipalNavigation} a {existingDependentEntityType}. {existingDependentNavigation}. Vlastnosti navigace se můžou účastnit pouze jedné relace.

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

Návraty

Platí pro