Closed 6pac closed 12 years ago
I want to incorporate this same functionality with Subsonic 2.1... we have an entire application that uses it and to upgrade to Subsonic 3.x would cause too much trouble at this time. Any ideas how to procede would be appreciated.
Just committed a 2.1 update with the Enum template. See Subsonic/CodeGeneration/Templates/CS_EnumTemplate.aspx for full usage instructions
Generate enums automatically from table row data. There is pretty comprehensive docco in the ttinclude file.
I originally inserted the enum generation into the structs.tt file, but then I switched to a self contained file on the realisation that they could be quite useful for Reporting Services code as an independent unit.