Click or drag to resize

DataAction Structure

A simple query abstraction layer used to provide a mechanism by which methods can make simple query calls to various models.
Inheritance Hierarchy
SystemObject
  SystemValueType
    AppOne.Services.V2DataAction

Namespace: AppOne.Services.V2
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public struct DataAction

The DataAction type exposes the following members.

Properties
 NameDescription
Public propertyName The name of the data action to use. This value will be documented for each and every service contract that uses the DataAction name.
Public propertyValues A generic list of string values. These values are defined by the name of the DataAction and are different for each and every service call.
Top
Remarks
The DataAction structure allows direct query access to the various contracts that implement it.

Note  Note
The DataAction structure and DataFilter structure play similar roles in filtering the data returned from a service call. The big difference is that the DataAction is a direct query to the underlying model, whereas the DataFilter is a post filtration operation that filters data already returned by the service. The DataFilter can still decrease the size of your Results, but the bigger performance increase will be found by using the DataAction structure if a possible query name exists.
Example
JavaScript
{
    //Sub-Sample of the DataAction
    "DataAction":{
        "Name":"SELECT-ALL",
        "Values":[]
    }
 }
See Also