語言

CoreStrings.OwnershipNotCascadeDelete(Object, Object, Object, Object) Method

Definition

The ownership relationship from '{principalEntityType}' to '{dependentEntityType}' is configured with '{deleteBehavior}' delete behavior. Ownership relationships must use '{cascadeBehavior}' delete behavior. Either remove the explicit delete behavior configuration or don't configure this relationship as an ownership.

public static string OwnershipNotCascadeDelete(object? principalEntityType, object? dependentEntityType, object? deleteBehavior, object? cascadeBehavior);
static member OwnershipNotCascadeDelete : obj * obj * obj * obj -> string
Public Shared Function OwnershipNotCascadeDelete (principalEntityType As Object, dependentEntityType As Object, deleteBehavior As Object, cascadeBehavior As Object) As String

Parameters

principalEntityType
Object
dependentEntityType
Object
deleteBehavior
Object
cascadeBehavior
Object

Returns

Applies to