Share via


EdmNavigationPropertyInfo.OnDelete Property

Gets or sets the action to take when an instance of the declaring type is deleted.

Namespace:  Microsoft.Data.Edm.Library
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Property OnDelete As EdmOnDeleteAction 
    Get 
    Set
'Usage
Dim instance As EdmNavigationPropertyInfo 
Dim value As EdmOnDeleteAction 

value = instance.OnDelete

instance.OnDelete = value
public EdmOnDeleteAction OnDelete { get; set; }
public:
property EdmOnDeleteAction OnDelete {
    EdmOnDeleteAction get ();
    void set (EdmOnDeleteAction value);
}
member OnDelete : EdmOnDeleteAction with get, set
function get OnDelete () : EdmOnDeleteAction 
function set OnDelete (value : EdmOnDeleteAction)

Property Value

Type: Microsoft.Data.Edm.EdmOnDeleteAction
The action to take when an instance of the declaring type is deleted.

See Also

Reference

EdmNavigationPropertyInfo Class

Microsoft.Data.Edm.Library Namespace