I want to validate each and every value that is being passed to database for special characters. Is it possible to have any method kind of thing in T4 achieve this rather than adding a static method and validating it or please do let me know if there's a better solution for this
Asked
Active
Viewed 60 times
0
-
I can't answer this question but from a design standpoint I'd recommend against this. – Casey Aug 25 '15 at 19:46
-
Any reason just curious – Vivekh Aug 25 '15 at 19:48
-
Basically I agree with the philosophy of [Terrence Parr on StringTemplate](http://www.stringtemplate.org/about.html): "If your template looks like a program, it probably is--you have totally entangled your model and view." – Casey Aug 25 '15 at 19:51