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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework