subsonic / SubSonic-3.0-Templates

T4 Template Project for the peeps
http://subsonic.github.io/
105 stars 46 forks source link

Bugfix [ready to pull]: Linq templates broken if CleanUp() is used #20

Open TheDistantSea opened 15 years ago

TheDistantSea commented 15 years ago

There are two calls to CleanUp() missing from Classes.tt, which result in the generated code not compiling if CleanUp() actually modifies the strings (this is maybe conditional; it did happen to me).

The ActiveRecord templates DO have these two calls, so I 'm assuming it's a bug in Classes.tt.

Grab the patch from here: http://github.com/defacer/SubSonic-3.0-Templates/commit/92a1a3e994b8e8d732b679e7fd7f6ea7930426ed