Bagikan melalui


CoreStrings.ReferencedShadowKey(Object, Object, Object, Object) Metode

Definisi

Hubungan dari '{referencingEntityTypeOrNavigation}' ke '{referencedEntityTypeOrNavigation}' dengan properti kunci asing {foreignKeyPropertiesWithTypes} tidak dapat menargetkan kunci primer {primaryKeyPropertiesWithTypes} karena tidak kompatibel. Konfigurasikan kunci utama atau sekumpulan properti kunci asing dengan jenis yang kompatibel untuk hubungan ini.

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

Parameter

referencingEntityTypeOrNavigation
Object
referencedEntityTypeOrNavigation
Object
foreignKeyPropertiesWithTypes
Object
primaryKeyPropertiesWithTypes
Object

Mengembalikan

Berlaku untuk