CoreStrings.ConflictingRelationshipNavigation 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| ConflictingRelationshipNavigation(Object, Object, Object, Object) |
無法建立「{newPrincipalNavigationSpecification}' 與「{newDependentNavigationSpecification}' 之間的關係,因為 '{existingPrincipalNavigationSpecification}' 與 '{existingDependentNavigationSpecification}' 之間已有關聯。 導航只能參與單一關係。 如果你想覆蓋現有的關係,請先在導航欄的「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}' 之間已有關聯。 導航只能參與單一關係。 如果你想覆蓋現有的關係,請先在導航欄的「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