Are looking to build a data-factory in order to spin up sandboxes with customized and reproduce-able data. We'd like to use a process similar to how we utilize the Test.loadData method to reference static resource that contains the records in question when we build test classes. However, I'm having issues finding documentation to support the actual insert of these records. How would we accomplish this.
Specifically: We want to be able to load, from a file (or series of files) Accounts, Contacts, and two additional custom child objects. In order to easily customize or expand the data sets, we want the class to reference file(s) and import the records as written.