Share via


ActionOnDeleteAttribute Class

Definition

Represents an Attribute that can be placed on a navigation property to specify the applied action whether delete should also remove the associated item on the other end of the association.

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

Constructors

ActionOnDeleteAttribute(EdmOnDeleteAction)

Initializes a new instance of the ActionOnDeleteAttribute class.

Properties

OnDeleteAction

Gets the action whether delete should also remove the associated item on the other end of the association.

Applies to