DataControllerDescription.GetUpdateAction Method (Type, ChangeOperation)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the specified update action if present on the DataController.

Namespace:  System.Web.Http.Data
Assembly:  System.Web.Http.Data (in System.Web.Http.Data.dll)

Syntax

'Declaration
Public Function GetUpdateAction ( _
    entityType As Type, _
    operationType As ChangeOperation _
) As UpdateActionDescriptor
public UpdateActionDescriptor GetUpdateAction(
    Type entityType,
    ChangeOperation operationType
)
public:
UpdateActionDescriptor^ GetUpdateAction(
    Type^ entityType, 
    ChangeOperation operationType
)
member GetUpdateAction : 
        entityType:Type * 
        operationType:ChangeOperation -> UpdateActionDescriptor 
public function GetUpdateAction(
    entityType : Type, 
    operationType : ChangeOperation
) : UpdateActionDescriptor

Parameters

  • entityType
    Type: System.Type
    The entity type to return the update action for.

Return Value

Type: System.Web.Http.Data.UpdateActionDescriptor
The update action if defined by the DataController, or null.

See Also

Reference

DataControllerDescription Class

GetUpdateAction Overload

System.Web.Http.Data Namespace