subsonic / SubSonic-3.0-Templates

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

Added initial POCO generator for repository mode and existing databases #48

Open nathanb opened 13 years ago

nathanb commented 13 years ago

This is just a quick generator I wrote awhile back to use for initial POCO generation from existing databases. I thought it might be useful for others. The idea is to use this once to stub out POCOs, then move them elsewhere for manual maintenance. I've dog-fooded this with MySql and Sql Server.

I also made unrelated whitespace changes to this version by adding .gitattributes for sln and proj files. It allows those files to be treated as binary so Visual Studio can recognize the solution version in Windows Explorer. The default git commit behavior of removing CR's from those files confuses visual studio.