語言

CoreStrings.ConflictingRelationshipNavigation 方法

定義

多載

名稱 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)

來源:
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}' 之間已有關聯。 導航只能參與單一關係。 如果你想覆蓋現有的關係,請先在導航欄的「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

傳回

適用於