Removed project hack which does not work in Visual Studio 2012 or 2013. Added better support for reference types. Added support SQL Server types: timestamp, tinyint, real, geography, and geometry. The latter two require uncommenting output of a using statement.