Code Generation using CodeSmith - v4.1 - Visual Studio 2008 Support and LINQ to SQL Templates

Code Generation using CodeSmith - v4.1 - Visual Studio 2008 Support and LINQ to SQL Templates

by David Hayden ( Microsoft MVP C# ), Filed: .NET Code Generation Tools

 

If you are into code generation, it appears a new version of CodeSmith is out - version 4.1. I haven't downloaded it yet, but two bulleted features make me pretty excited:

  • Visual Studio 2008 Support
  • LINQ to SQL Templates

This is very, very timely as I am developing with Visual Studio 2008 and last night I was looking to create some LINQ to SQL Templates. Although the LINQ to SQL Visual Designer is very cool and very productive, I have been burned badly by Visual Designers in the past and would prefer to have each LINQ to SQL Entity in its own non-visual designer file just like every other class in Visual Studio.

The description of the LINQ to SQL Templates look pretty cool:

  • Linq to Sql templates – Generates LINQ classes as well as manager classes to make it easier to execute common queries, manage validation, and add business rules. It’s “SQL Metal” on steroids

For more information on CodeSmith, check out the CodeSmith Website.

 

Source: David Hayden ( Microsoft MVP C# )

Filed: .NET Code Generation Tools

 

posted on Thursday, August 02, 2007 11:05 AM

My Links

Post Categories

Article Categories

Archives

Loose-Leaf Tea