CoreStrings.ReferencedShadowKey(Object, Object, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The relationship from '{referencingEntityTypeOrNavigation}' to '{referencedEntityTypeOrNavigation}' with foreign key properties {foreignKeyPropertiesWithTypes} cannot target the primary key {primaryKeyPropertiesWithTypes} because it is not compatible. Configure a principal key or a set of foreign key properties with compatible types for this relationship.
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
Parameters
- referencingEntityTypeOrNavigation
- Object
- referencedEntityTypeOrNavigation
- Object
- foreignKeyPropertiesWithTypes
- Object
- primaryKeyPropertiesWithTypes
- Object
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework