I'm trying to create simple tool for concatenating SQL scripts using CodeSmith.
I have template which is generally just:
- header (check whether tables exists, begin transaction)
- body (concatenated scripts should be placed here)
- footer (commit or rollback transaction)
Scripts are stored in separate .sql files. I need to pick these files through CodeSmith Explorer during template generation, but I don't know which UITypeEditor
to choose.
I've tried FileNameEditor, but it allows to choose only one file.
Is there any existing UITypeEditor
for this purpose? Or do I need to create such by myself?