共用方式為


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

傳回

適用於