Share via


RelationalStrings.IncompatibleTableKeyNameMismatch Method

Definition

Cannot use table '{table}' for entity type '{entityType}' since it is being used for entity type '{otherEntityType}' and the name '{keyName}' of the primary key {primaryKey} does not match the name '{otherName}' of the primary key {otherPrimaryKey}.

public static string IncompatibleTableKeyNameMismatch (object table, object entityType, object otherEntityType, object keyName, object primaryKey, object otherName, object otherPrimaryKey);
public static string IncompatibleTableKeyNameMismatch (object? table, object? entityType, object? otherEntityType, object? keyName, object? primaryKey, object? otherName, object? otherPrimaryKey);
static member IncompatibleTableKeyNameMismatch : obj * obj * obj * obj * obj * obj * obj -> string
Public Shared Function IncompatibleTableKeyNameMismatch (table As Object, entityType As Object, otherEntityType As Object, keyName As Object, primaryKey As Object, otherName As Object, otherPrimaryKey As Object) As String

Parameters

table
Object
entityType
Object
otherEntityType
Object
keyName
Object
primaryKey
Object
otherName
Object
otherPrimaryKey
Object

Returns

Applies to