CoreStrings.ConflictingRelationshipNavigation Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
| Имя. | Описание |
|---|---|
| ConflictingRelationshipNavigation(Object, Object, Object, Object) |
Не удается создать связь между "{newPrincipalNavigationSpecification}" и "{newDependentNavigationSpecification}", так как связь уже существует между "{existingPrincipalNavigationSpecification}" и "{existingDependentNavigationSpecification}". Навигации могут участвовать только в одной связи. Если вы хотите переопределить существующий вызов связи "Игнорировать" для навигации "{newDependentNavigationSpecification}" сначала в OnModelCreating. |
| ConflictingRelationshipNavigation(Object, Object, Object, Object, Object, Object, Object, Object) |
Не удается создать связь между "{newPrincipalEntityType}. {newPrincipalNavigation}" и "{newDependentEntityType}. {newDependentNavigation}", так как уже существует связь между "{existingPrincipalEntityType}. {existingPrincipalNavigation}" и "{existingDependentEntityType}. {existingDependentNavigation}'. Свойства навигации могут участвовать только в одной связи. |
ConflictingRelationshipNavigation(Object, Object, Object, Object)
- Исходный код:
- CoreStrings.Designer.cs
- Исходный код:
- CoreStrings.Designer.cs
- Исходный код:
- CoreStrings.Designer.cs
- Исходный код:
- CoreStrings.Designer.cs
- Исходный код:
- CoreStrings.Designer.cs
- Исходный код:
- CoreStrings.Designer.cs
- Исходный код:
- CoreStrings.Designer.cs
Не удается создать связь между "{newPrincipalNavigationSpecification}" и "{newDependentNavigationSpecification}", так как связь уже существует между "{existingPrincipalNavigationSpecification}" и "{existingDependentNavigationSpecification}". Навигации могут участвовать только в одной связи. Если вы хотите переопределить существующий вызов связи "Игнорировать" для навигации "{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)
- Исходный код:
- CoreStrings.Designer.cs
- Исходный код:
- CoreStrings.Designer.cs
Не удается создать связь между "{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