共用方式為


CoreStrings.ConflictingRelationshipNavigation 方法

定義

多載

ConflictingRelationshipNavigation(Object, Object, Object, Object)

無法在 '{newPrincipalNavigationSpecification}' 和 '{newDependentNavigationSpecification}' 之間建立關聯性,因為 '{existingPrincipalNavigationSpecification}' 與 '{existingDependentNavigationSpecification}' 之間已經存在關聯性。 導覽只能參與單一關聯性。 如果您想要先覆寫 'OnModelCreating' 中流覽 '{newDependentNavigationSpecification}' 上的現有關聯性呼叫 'Ignore'。

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' 中流覽 '{newDependentNavigationSpecification}' 上的現有關聯性呼叫 'Ignore'。

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

傳回

適用於