In Visual Studio, when working with Entity Framework and applying Run Custom Tool for .tt and .Context.tt files, What is it and what does it do?
Why it's solving database sync-problems (Sometimes)? and why i should run it for (.tt) before run it for (.Context.tt)?
It's called 'Text Template Transformation Toolkit' and you can use it to create classes out of a meta description (for example). EF uses it to create the classes (context and entity classes) out of the model.
You can also look at http://en.wikipedia.org/wiki/Text_Template_Transformation_Toolkit
You can create your own template and have them run. We used it to create an enumeration of of a database table once. More convienient than to do that manually. Later this was deprecated because EF has gained support for enumerations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With