I'm using codesmith to generate our CSLA layer, and have 3 separate Codesmith projects (.csp) to generate
- CSLA Business Objects
- Data Access
- Scaffolded Unit Tests
Each of those project files have a list of target database tables within them, in the format:
<property name="EditableChild">
....
<tableList>
<table>
<owner>dbo</owner>
<name>Table1</name>
</table>
<table>
<owner>dbo</owner>
<name>Table2</name>
</table>
</tableList>
</property>
I obviously don't want to maintain that list in three places. Is there any way we can share that same list of tables between the Codesmith project files, without merging them into a single project?