StoreParameters¶
StoreParameters Properties¶
| Property | Type | Required | Default |
|---|---|---|---|
| AutoRegisterClient | boolean |
No | false |
| EnableBackgroundDataTransfer | boolean |
No | true |
| EnableIndividualErrorArchiveDeletion | boolean |
No | false |
| EnableRepeatableRequests | boolean |
No | true |
| EnableRequestQueueOptimization | boolean |
No | false |
| EnableUndoLocalCreation | boolean |
No | false |
| StoreName | string |
No | |
| Timeout | number |
No |
AutoRegisterClient¶
Specifies whether or not to enable Client Registrations.
-
type:
boolean -
default:
false
EnableBackgroundDataTransfer¶
Enables background data transfer for iOS devices only. When set to true, network data transfer during Offline OData initialization, download, and upload continues when the app is in the background. This helps with large data or slow connections, though only the network transfer step is affected. The offline operation's other (in-app) steps, such as building the local database, applying the downloaded data, and committing changes, still pause when the app is backgrounded and resume when it returns to the foreground. The app's UI, such as the progress indicator that shows the current step, updates only while the app is in the foreground. The system will attempt background completion, but this process may not always succeed due to varying conditions.
-
type:
boolean -
default:
true
EnableIndividualErrorArchiveDeletion¶
By default, deletion of an individual ErrorArchive entity will clear all entities in the ErrorArchive and all pending requests related to them will also be removed from the requests queue. If set to true, deletion of an individual ErrorArchive entity will only delete that entity and its dependent entities. In addition, pending requests associated with the deleted entities in the ErrorArchive are also removed from the requests queue. All other non-related entities will not be removed.
-
type:
boolean -
default:
false
EnableRepeatableRequests¶
Specifies whether the OData backend or mobile services supports repeatable requests.
-
type:
boolean -
default:
true
EnableRequestQueueOptimization¶
Specifies whether or not to enable request queue optimization.
-
type:
boolean -
default:
false
EnableUndoLocalCreation¶
Specifies whether or not to enable an optimization such that deleting an entity that was created locally but not yet uploaded undoes the creation.
-
type:
boolean -
default:
false
StoreName¶
By default, the service destination name will be used as Store Name. The StoreName must be defined if service PathSuffix is defined.
- type:
string
Timeout¶
Defines the timeout value in seconds. If the timeout is set too low (less than 30 seconds), it would increase network traffic for checking the liveness of the connection which each timeout period to ensure that the connection is still active. If omitted, it will be no timeout.
- type:
number