RelationalStrings.IncompatibleTableKeyNameMismatch 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.
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
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