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

定义

从“{referenceencingEntityTypeOrNavigation}”到具有外键属性 {foreignKeyPropertiesWithTypes} 的“{referencedEntityTypeOrNavigation}”的关系不能以主键 {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

返回

适用于