Using the Templates

The following section will cover how to use the various templates that ship with PLINQO.

Please see the Getting Started section for steps on how to configure and use the templates within seconds.
Please see the Getting Started section for steps on how to configure and use the templates within seconds.

Manual Generation

Use the following steps to get started using the PLINQO for Linq to Sql templates if you are not planning on using the QuickStart template.

  1. Create a new Class Library project in Visual Studio.
  2. Add a new CodeSmith project file to the Visual Studio project.
  3. Add a new Output to the project file for the Dbml.cst template.
  4. Add another Output to the project file for the Entities.cst template.
  5. Optionally, Add an Output for the Managers.cst template.
  6. Set the Sample.csp -> Output Options -> Add Outputs to Project to unchecked.  The templates update the project for you.
  7. Finally, Generate the Outputs.