...
- Create a new Class Library project in Visual Studio.
- Add a new CodeSmith Generator Project file to the Visual Studio project.
- Add a new Output to the project file for the Entities.cst template.
- Right In the Visual Studio Solution Explorer, right click the Generator Project File you added to the project in step 2.
- Next click Click on the Add Output menu item.
- Choose the Entities.cst template in the Add Output dialog and click the OK button.
- Required only If you are using the Object Factory Data Access Implementation.
- Follow steps 1-2.
- Add a new Output to the project file for the DataAccessLayer\DataAccessLayer.cst template.
- Finally, Generate the Outputs
- In the Visual Studio Solution Explorer, right click the Generator Project File you added to the project in step 2.
- Click on the Generate Outputs menu item.