Using the new RunTemplate overload from the last CS, the Scaffolds have been moved to true templates! ScaffoldCodeGenerator.cs has been removed, as have all of the resource entries. With this new model, you should find it a LOT easier to make modifications to the layout and presentation. In addition, these should provide an example of how powerful this templating model is, and how it can be used for building UI's as well as code. Start with BatchClassGenerator.aspx and follow the generation code to see how you can use the model to generate your own code. More on this in a later blog post...
For now, take a look at the new templates:
- DynamicScaffold.aspx
- GeneratedScaffoldMarkup.aspx
- GeneratedScaffoldCodeBehind.aspx
Other Fixes/Changes
- Small change in ClassTemplate.aspx to address a potential naming issue when a column name differed from a property name.
- Fixed a problem with retrieving binary data types in AbstractRecord.GetValue()
- Removed old .txt templates
- Removed duplicated templates in SampleWeb/Templates
Download (Edit: Changed to 20600 because of check in issue)