StoreData Method

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.


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. Filter set is ignored.


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 to the database. All other entities in the context will be skipped from storing.