RelationalStrings.DuplicateKeyTableMismatch 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 keys {keyProperties1} on '{entityType1}' and {keyProperties2} on '{entityType2}' are both mapped to '{keyName}', but on different tables ('{table1}' and '{table2}').
public static string DuplicateKeyTableMismatch (object keyProperties1, object entityType1, object keyProperties2, object entityType2, object keyName, object table1, object table2);
public static string DuplicateKeyTableMismatch (object? keyProperties1, object? entityType1, object? keyProperties2, object? entityType2, object? keyName, object? table1, object? table2);
static member DuplicateKeyTableMismatch : obj * obj * obj * obj * obj * obj * obj -> string
Public Shared Function DuplicateKeyTableMismatch (keyProperties1 As Object, entityType1 As Object, keyProperties2 As Object, entityType2 As Object, keyName As Object, table1 As Object, table2 As Object) As String
Parameters
- keyProperties1
- Object
- entityType1
- Object
- keyProperties2
- Object
- entityType2
- Object
- keyName
- Object
- table1
- Object
- table2
- 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