Run Custom Tool for Entity Framework, what does it do?

12,439

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.

Share:
12,439
Alaa
Author by

Alaa

Software team lead, Microsoft Certified Professional Developer, MSc. IT (Semantic Computer Vision). Key Skills: Project Management, Enterprise SaaS Development, Quality Assurance, Business Analysis, .NET development, Relational and Graph Databases, Content Management Systems, Knowledge Graphs, Artificial Intelligence, Computer Vision, Machine Learning, and Semantic technologies.

Updated on June 18, 2022

Comments

  • Alaa
    Alaa almost 2 years

    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)?

  • theking2
    theking2 over 2 years
    This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review