DgnIModelNETExample demonstrates the Managed Publishing API. Various publishing options can be set and the currently open file can be published.
In order to open the solution in Visual Studio 2013, make sure that the environment variables for MS and MSDE are set correctly (the MicroStationDeveloperShell.bat should do this).
After loading the DgnIModelNETExample.dll through "mdl load" use the following keyin to create some graphics in the current file and publish with business data:
To see an example of reading the business data just published, open the i-model that was just published and type the following keyin:
It should display some information on the ECInstances in the text window.