A Visual Studio plugin for the Entity Framework designer which pulls MS_Description properties from a database and populates an entity model with them.
When tables are named with plural words the document generator does not work. I am testing on an older existing database. I debugged the source to see why it wasn't finding any MS_Description extended properties on my tables and saw the sql generated to query used the singular of the table name.
I use uppercase names with underscores in my database and Pascal Case names in the edmx file.
When the field's name in the edmx file does not match the column's name in the database, it does not copy the MS_Description.
Example:
(column name) -> (field name)
TITULO -> Titulo -> WORKS
TITULO -> Prueba -> DOES NOT WORK
FECHA_INICIO -> FechaInicio -> DOES NOT WORK
Log from "Entity Documentation Generator" is:
2017-08-18 14:27:54:2943: ------ Starting documentation generation for project: ....\Data\Adam64DataModel\Adam64DataModel.csproj ------
2017-08-18 14:27:55:0103: Documentation generation succeeded
Log "Entity Data Model" is empty
the edmx file is unchanged afterwards
I get this error when I run Update Model from Database.
VS2017 15.3 Enterprise
Entity Framework 6.1.3
SqlServer Express 2012 local installation
EFDocumentationGenerator is Version | 2.0.0.34
For web applications a valid config file could not be found. After a bit of investigating I found that this happens when there are config transform files associated with the Web.config file (Web.Debug.config and Web.Release.config).
C# WinForms DAL project
After making changes to database, I removed all entities from from the edmx and updated from model from database.
Document summary not updated for any entity or entity field.
I had a shared config source in the app config instead of a named connection string.
Commented my shared config section out and added a connectionStrings section with named connectionstring.
Updated model from database again.
Documentation summary properties still not updating.
Deleted edmx and created a new one with all the same details, connectionstring was still in the app.config
Documentation summary properties still not updating.
Updated model from database
Documentation summary properties still not updating.
From VS Gallery, user sbrussell:
I'm experiencing an error when executing the Update Modell from Database:
An error occurred executing an ADO.Net Entity Framework Extension. The extension's type name is DocumentationGenerator.ModelGenerationExtension. The exception message is Format of the initialization string does not conform to specification starting at index 28..