I've created a custom wizard that allows developers in Visual Studio to be presented with a list of data sets from a database. The next step is to add an instance of one of the custom classes I've created based off of which data set they choose. Is there a way to simulate the process of right clicking the solution in the solution explorer, selecting add and new item? (or the same thing through the project drop down).
basically the "adding project items" step, in case i've been unclear:
http://msdn.microsoft.com/en-us/library/bb384482(v=vs.90).aspx
EDIT: I'm in Visual Studio 2012