Error!
Success!

T4 template for generating SQL view from C# enumeration

0
kicks

T4 template for generating SQL view from C# enumeration  (Unpublished)

Database tables often contain columns that store “codes”, or values with special meaning. In application code, these special values can be encapsulated as enumerations. This article demonstrates how to use T4 code generation templates and Visual Studio CodeModel API to generate SQL views that encapsulate the special values for use in SQL code.


Kicked By:
Drop Kicked By: