OfflineOData Download¶
OfflineOData Download action is used to perform delta download of data from the backend and update the local offline store.
All the properties defined under Action are applicable to this action.
OfflineOData Download Properties¶
Property | Type | Required |
---|---|---|
DefiningRequests | DefiningRequest | No |
Service | Service | Yes |
_Type | const |
Yes |
DefiningRequests¶
List of defining requests. A defining request is an OData read request that the Offline OData will use to retrieves data from the target OData Service and populate in the local offline database
- type:
DefiningRequest[]
All array items must be of the type: DefiningRequest
Service¶
The target service
- type: Service
_Type¶
- type:
const
The value of this property must be:
"Action.Type.OfflineOData.Download"
Action Result¶
The ActionResult of this action is null
.
Examples¶
{
"_Type": "Action.Type.OfflineOData.Download",
"Service": "/MyMDKApp/Services/MyOData.service",
"DefiningRequests": [
{
"Name": "MyProducts",
"Query": "Products"
},
{
"Name": "MyCustomers",
"Query": "Customers"
},
{
"Name": "MySalesOrders",
"Query": "SalesOrders"
}
]
}