Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add PLINQO to a pre-existing project.

...

Step 1: Open a Visual Studio Project

...

Either create a new project, or open the project that you want to add your NHibernate files to.

...

Step 2: Add a new CodeSmith Project (CSP) to your project.

...

  1. Open your project in Visual Studio.
  2. Right click on your project in Solution Explorer and add a "New Item"
  3. Under "Visual Studio C# Items", and add a "CodeSmith Project"

...

Step 3: Configurate your CSP for PLINQO for NHibernate

...

  1. Right click on the CSP and "Manage Outputs"
  2. Add Output, select Hbms.cst, and fill in the 2 required properties
  3. Add Output, select Entities.cst, and fill in the 2 required properties
  4. Add Output, select Queries.cst, and fill in the 1 required property

...

Step 4: Add a connection string to your App or Web config

...

  1. Name the connection string "nhiberante" or the name of your database

...

Step 5: Generate Outputs

...

  1. Right click on your CSP and Generate Outputs.
  2. Compile.
  3. Enjoy!