I am trying to fill in some deployment documentation with data that is stored in a database. (the subject system stores a lot of its implementation specifications in database tables) I have been able to create types using the “import DB schema” and create basic objects in the model using the CSV import feature for a package. (using a DB access program to write CSV files from a SQL result set) I then used the automation interface, C#, to assign the classifier type to the objects. The next step is assigning the runtime state to the objects. I assume I can do this with the automation interface but I haven’t been able to figure out where and how the runtime state is stored.

Could someone tell me, relative to either the diagram object or, preferably, the package element collection the navigation to the runtime state structure for an object?
I need to do this for several tables with up to several hundred records.
Thanks in advance.