ActionOnDeleteAttribute Class
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.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Inheritance Hierarchy
System.Object
System.Attribute
System.Web.Http.OData.Builder.ActionOnDeleteAttribute
Syntax
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false,
Inherited = false)]
public sealed class ActionOnDeleteAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple = false,
Inherited = false)]
public ref class ActionOnDeleteAttribute sealed : Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false,
Inherited = false)>]
type ActionOnDeleteAttribute =
class
inherit Attribute
end
<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple := False,
Inherited := False)>
Public NotInheritable Class ActionOnDeleteAttribute
Inherits Attribute
Constructors
Name | Description | |
---|---|---|
ActionOnDeleteAttribute(EdmOnDeleteAction) | Initializes a new instance of the ActionOnDeleteAttribute class. |
Properties
Name | Description | |
---|---|---|
OnDeleteAction | Gets the action whether delete should also remove the associated item on the other end of the association. |
|
TypeId | (Inherited from Attribute.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Attribute.) |
|
GetHashCode() | (Inherited from Attribute.) |
|
GetType() | (Inherited from Object.) |
|
IsDefaultAttribute() | (Inherited from Attribute.) |
|
Match(Object) | (Inherited from Attribute.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
|
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
|
_Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
|
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.Http.OData.Builder Namespace
Return to top