With the Data Engine library, you can import data from a collection of objects of a specific class type to the DataEngine table.
To connect Data Engine to Objects, you need to follow the steps given below:
Initialize a new workspace folder relative to the project root directory using the Init method of the Workspace class.
Create a class having a method that returns a collection of the class objects.
Retrieve the collection of class objects as shown:
To connect DataEngine to the retrieved collection of custom objects, create an instance of the ObjectConnector class and pass the Workspace object and the custom collection initialized above as parameters to its constructor. Use the GetData method of the ObjectConnector class to create a DataEngine base table containing the imported data.
Once the connection is established, the queries can be defined and executed to fetch the desired data. Refer to Transform Data topic for more information.