CodeSmith Community
Your Code. Your Way. Faster!

Using CodeSmith dropdown template properties

I created a CodeSmith template the other day to generate a Data Provider method that returns a single value from a query. It's not a method I'll use a lot since if retrieving data I'm usually populating an object, but still a task I wanted to automate. Below is an example of the template's generated output. [IMG ] I wanted the ability to return integers, strings and DateTime types, so the best way to do that was using a dropdown selection in the CodeSmith template. The dropdown is show

Read the complete post at http://dbvt.com/blog/archive/2007/11/10/using-codesmith-dropdown-template-properties.aspx


Posted Nov 10 2007, 02:32 PM by CodeSmith on NewsGator Online
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems