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.
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.