Introduction
The. edmx file generated by Entity Framework in vs results in a bug with the abstract (description) being empty. The specific bug information is"No metadata document is available ."As a result, we cannot predict the meaning of the field representative when the table name is clicked, which is also fatal in development, because developers can only rely on experience and speculation to determine, the meaning of tables and fields, rather than intuitively knowing their purpose at the first time, has brought a lot of changes to development,The following is a solution to this bug:.
Purpose
Table and field Summary (description),
[For more information, see http://www.cnblogs.com/stone_w/archive/2012/10/18/2729475.html]
Bug Solution
Method:
1 use micro-soft open source project eftsqldocumentation.generator.exe, generate EF field abstract (description) document,: http://eftsqldocgenerator.codeplex.com/releases/view/69447,
2. After the download is completed, run the command line to access the binaryfolder and call the eftsqldocumentation.generator.exe command (the command is shown below) to generate the file,
Call the command:
Eftsqldocumentation.generator.exe-c "Connection database string"-I "XXX. edmx physical directory"
Instance:
Eftsqldocumentation.generator.exe-c "Data Source =.; initial catalog = db2012; user id = sa; Password = sa;"-I "E: \ db2012.edmx"
After eftsqldocumentation.generator.exe is called, refresh the edmx file. All the field summary documents have been generated.
End
The EF framework is good. I hope you can make good use of it. If you feel useful to you, click here for support. Thank you!