語言

CoreStrings.ReferencedShadowKey(Object, Object, Object, Object) 方法

定義

從 '{referencingEntityTypeOrNavigation}' 到 '{referencedEntityTypeOrNavigation}' 的關係,帶有外鍵屬性 {foreignKeyPropertiesWithTypes} 的關係,無法針對主鍵 {primaryKeyPropertiesWithTypes},因為它不相容。 為此關係配置一個主鍵或一組相容型別的外鍵屬性。

public static string ReferencedShadowKey(object? referencingEntityTypeOrNavigation, object? referencedEntityTypeOrNavigation, object? foreignKeyPropertiesWithTypes, object? primaryKeyPropertiesWithTypes);
public static string ReferencedShadowKey(object referencingEntityTypeOrNavigation, object referencedEntityTypeOrNavigation, object foreignKeyPropertiesWithTypes, object primaryKeyPropertiesWithTypes);
static member ReferencedShadowKey : obj * obj * obj * obj -> string
Public Shared Function ReferencedShadowKey (referencingEntityTypeOrNavigation As Object, referencedEntityTypeOrNavigation As Object, foreignKeyPropertiesWithTypes As Object, primaryKeyPropertiesWithTypes As Object) As String

參數

referencingEntityTypeOrNavigation
Object
referencedEntityTypeOrNavigation
Object
foreignKeyPropertiesWithTypes
Object
primaryKeyPropertiesWithTypes
Object

傳回

適用於