StoreData Method

This method gets data from a context and stores it back into the database.

The method returns actual data after being processed by state events or database triggers.

Parameters

Parameter Type Description
Data Context Store Reference Reference to the data you want to store. Always use "/" as XPath otherwise the data will not show its created/updated/deleted status (see Contexts).
DataStructure Data Structure Reference

Data structure which will be used to generate SQL statements to the database. The filter set is ignored.

Tip

If you need to store only a subset of entities from the context store, create a separate data structure with only those entities. Then reference that data structure in this parameter. Only data contained in these entities will be stored in the database. All other entities in the context will be skipped from storing.