less than 1 minute read

SQL code to generate a C# class definition from a SQL Server table, code originally from stackoverflow, amended by taking into account the comments and the SQL Server Data Type Mappings.

This is useful when working with a data store that was previously defined for quickly generating the classes that would sit behind your repository or DAL.

Comments