This is a Visual Studio plugin for the ADO.NET Entity Designer. It hooks into the model update process in order to pull MS_Description extended properties from a SQL Server database and populate an entity model's (.edmx file) Documentation nodes with them. This makes these descriptions available for use during code generation, enabling the addition of comments to generated classes and members. The plugin searches the project that an .edmx file belongs to for a config file containing an Entity Framework connection string so that it can connect to the database. This tool does not require explicit invocation. When using database first with Entity Framework, simply open the Entity Designer by opening an .edmx file. Then, right click the designer and choose "Update Model from Database" and follow the instructions. If you have MS_Description extended properties on your columns and/or tables, the edmx file should be populated with these descriptions when performing Add or Refresh. You can verify this by either looking at the raw edmx's Conceptual Model, or in the designer, right clicking an entity or property, selecting Properties, and expanding Documentation. Currently, the Summary property is filled. To make use of this extra information, the template (.tt) file that generates the entities will require modifications. For guidance on modifying the template accordingly, please visit the following page about template modification. This extension will fail if no App.config or Web.config containing a connection string exists in the project containing the .edmx file. Therefore, it will currently not work for initial generation, only subsequent updates (unless a valid connection string is placed in a config file beforehand). The source code for this plugin is released under the Apache 2.0 license and is located at: https://github.com/mthamil/EFDocumentationGenerator Release v2.3.0
Release v2.2.0
Release v2.1.1
Release v2.1.0
Release v2.0.0
Release v1.3:
Release v1.2:
Release v1.1:
|