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

返回

适用于