Reputation: 3527
When I use the wizard to generate the codes, it will also generate the following file extensions:
What are the purposes of all these files? Can I remove them? (If I'm not mistaken, in code-first approach, I really need the .cs classes only.
Upvotes: 0
Views: 922
Reputation: 20754
.tt is T4 template file which generates your Entity Classes and Context.
.edmx.diagram contains information that is used by the Entity Designer to render a graphical display of the conceptual model.
.Designer.cs contains information that is used by the Entity Designer to render a conceptual model graphically and to define some conceptual model and design-time properties. after vs 2012 this file is usually useless and T4 code generators are used by default.
.edmx is an XML file that defines a conceptual model, a storage model, and the mapping between these models
Upvotes: 3