I have the following question regarding T4 templates. A review of SomeTemplate.tt contains:
<#@ template language="C#" #> Today is <#= DateTime.Today.ToString() #>
It is processed as follows:
SomeTemplatest st = new SomeTemplate(); string processedText = st.TransformText();
Q: What is this template is not existing tt and is located somewhere in the database. How can this template be treated as a string?
source share