CoreStrings.ForeignKeyReferencedEntityKeyMismatch(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 provided principal key {principalKeyProperties} is not a key on the entity type '{principalEntityType}'. Provide a key that's defined on the principal entity type.
public static string ForeignKeyReferencedEntityKeyMismatch (object principalKey, object principalEntityType);
public static string ForeignKeyReferencedEntityKeyMismatch (object? principalKeyProperties, object? principalEntityType);
static member ForeignKeyReferencedEntityKeyMismatch : obj * obj -> string
static member ForeignKeyReferencedEntityKeyMismatch : obj * obj -> string
Public Shared Function ForeignKeyReferencedEntityKeyMismatch (principalKey As Object, principalEntityType As Object) As String
Public Shared Function ForeignKeyReferencedEntityKeyMismatch (principalKeyProperties As Object, principalEntityType As Object) As String
Parameters
- principalKeyprincipalKeyProperties
- Object
- principalEntityType
- 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