CoreStrings.ConflictingRelationshipNavigation Метод

Определение

Перегрузки

ConflictingRelationshipNavigation(Object, Object, Object, Object)

Не удается создать связь между "{newPrincipalNavigationSpecification}" и "{newDependentNavigationSpecification}", так как связь уже существует между "{existingPrincipalNavigationSpecification}" и "{existingDependentNavigationSpecification}". Навигации могут участвовать только в одной связи. Если вы хотите переопределить существующий вызов связи Ignore для навигации {newDependentNavigationSpecification}, сначала в OnModelCreating.

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

Не удается создать связь между "{newPrincipalEntityType}. {newPrincipalNavigation}" и "{newDependentEntityType}. {newDependentNavigation}", так как связь между "{existingPrincipalEntityType} уже существует. {existingPrincipalNavigation}" и "{existingDependentEntityType}. {existingDependentNavigation}'. Свойства навигации могут участвовать только в одной связи.

ConflictingRelationshipNavigation(Object, Object, Object, Object)

Не удается создать связь между "{newPrincipalNavigationSpecification}" и "{newDependentNavigationSpecification}", так как связь уже существует между "{existingPrincipalNavigationSpecification}" и "{existingDependentNavigationSpecification}". Навигации могут участвовать только в одной связи. Если вы хотите переопределить существующий вызов связи Ignore для навигации {newDependentNavigationSpecification}, сначала в 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

Параметры

newPrincipalNavigationSpecification
Object
newDependentNavigationSpecification
Object
existingPrincipalNavigationSpecification
Object
existingDependentNavigationSpecification
Object

Возвращаемое значение

Применяется к

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

Не удается создать связь между "{newPrincipalEntityType}. {newPrincipalNavigation}" и "{newDependentEntityType}. {newDependentNavigation}", так как связь между "{existingPrincipalEntityType} уже существует. {existingPrincipalNavigation}" и "{existingDependentEntityType}. {existingDependentNavigation}'. Свойства навигации могут участвовать только в одной связи.

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

Параметры

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

Возвращаемое значение

Применяется к