RelationalStrings.DuplicateForeignKeyDeleteBehaviorMismatch 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 foreign keys {foreignKeyProperties1} on '{entityType1}' and {foreignKeyProperties2} on '{entityType2}' are both mapped to '{table}.{foreignKeyName}', but configured with different delete behavior ('{deleteBehavior1}' and '{deleteBehavior2}').
public static string DuplicateForeignKeyDeleteBehaviorMismatch (object index1, object entityType1, object index2, object entityType2, object table, object foreignKeyName, object deleteBehavior1, object deleteBehavior2);
public static string DuplicateForeignKeyDeleteBehaviorMismatch (object foreignKeyProperties1, object entityType1, object foreignKeyProperties2, object entityType2, object table, object foreignKeyName, object deleteBehavior1, object deleteBehavior2);
public static string DuplicateForeignKeyDeleteBehaviorMismatch (object? foreignKeyProperties1, object? entityType1, object? foreignKeyProperties2, object? entityType2, object? table, object? foreignKeyName, object? deleteBehavior1, object? deleteBehavior2);
static member DuplicateForeignKeyDeleteBehaviorMismatch : obj * obj * obj * obj * obj * obj * obj * obj -> string
static member DuplicateForeignKeyDeleteBehaviorMismatch : obj * obj * obj * obj * obj * obj * obj * obj -> string
Public Shared Function DuplicateForeignKeyDeleteBehaviorMismatch (index1 As Object, entityType1 As Object, index2 As Object, entityType2 As Object, table As Object, foreignKeyName As Object, deleteBehavior1 As Object, deleteBehavior2 As Object) As String
Public Shared Function DuplicateForeignKeyDeleteBehaviorMismatch (foreignKeyProperties1 As Object, entityType1 As Object, foreignKeyProperties2 As Object, entityType2 As Object, table As Object, foreignKeyName As Object, deleteBehavior1 As Object, deleteBehavior2 As Object) As String
Parameters
- index1foreignKeyProperties1
- Object
- entityType1
- Object
- index2foreignKeyProperties2
- Object
- entityType2
- Object
- table
- Object
- foreignKeyName
- Object
- deleteBehavior1
- Object
- deleteBehavior2
- 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