Here is an interesting bit about database projects that I forgot, database projects (.dbp) are formatted much like VB6 and earlier project files. I was hoping I could using an XSLT script to modify the project and roll it into a nant script capable of pulling each file from source control and concatenating the scripts into one file. But after looking at the problem and the tools we have, I'll take a different approach.
A while back, I wrote a visual studio plugin that grabs database scripts and pulls them into one large file. My initial approach was grabbing the associated Project object out of the plugin support library and iterate the project items. However, I found that database projects aren't treated the same as others and I wasn't able to traverse the project tree. The alternate approach I came up with was using a seperate XML document that allows us to fully control the ordering of the file placement and works quite well. I'll be taking this approach, translating it over to a nant script and run it that way.