D365 FO: ER Diagrams (Entity Relationship Diagrams)
Today we went to learn about the Visual Studio extension tool
which is used to Visualize the D365FO data models.
The tool is called dbdiagram.io, the Database
Markup Language (DBML), and the Generate
Entity Relation Schema extension for Visual Studio, we can interrogate
and transform the metamodel into a visual representation of our entity
relationships.
We can download the tool from github.
Process of installation:
1.
Download the Waywo.DbSchema.Addin.dll from
Releases.
2.
4.
In your Documents\Visual Studio Dynamics
365 folder there is a DynamicsDevConfig.xml XML file. like this:
<?xml version="1.0" encoding="utf-8"?>
<DynamicsDevConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://schemas.microsoft.com/dynamics/2012/03/development/configuration">
<AddInPaths xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>C:\D365CustomAddins</d2p1:string>
</AddInPaths>
</DynamicsDevConfig>
5. Edit the XML in note pad and find the tag “AddInPaths”
6. Copy the Waywo.DBSchema.AddIn.dll to the
AddInPath folder (create the folder or change the path to where the "Waywo.DbSchema.AddIn.dll"
is downloaded.) and then restart Visual Studio.
7. In the Visual studio from the table designer,
right-click àAddinsàGenerate entity relation schema.
8.