DeleteBehaviorAttribute Class

Definition

Configures the navigation property on the dependent side of a relationship to indicate how a delete operation is applied to dependent entities in a relationship when it is deleted or the relationship is severed.

[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class DeleteBehaviorAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type DeleteBehaviorAttribute = class
    inherit Attribute
Public NotInheritable Class DeleteBehaviorAttribute
Inherits Attribute
Inheritance
DeleteBehaviorAttribute
Attributes

Remarks

See Modeling entity types and relationships for more information and examples.

Constructors

DeleteBehaviorAttribute(DeleteBehavior)

Initializes a new instance of the DeleteBehaviorAttribute class.

Properties

Behavior

Gets the DeleteBehavior to be configured.

Applies to