https://github.com/noakesey/d365fo-entity-schema
Visual Studio extension to generate entity relation schema for Dynamics 365 Finance Operations (D365FO)
https://github.com/noakesey/d365fo-entity-schema
Last synced: 5 months ago
JSON representation
Visual Studio extension to generate entity relation schema for Dynamics 365 Finance Operations (D365FO)
- Host: GitHub
- URL: https://github.com/noakesey/d365fo-entity-schema
- Owner: noakesey
- Created: 2021-12-20T22:58:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-15T11:30:22.000Z (6 months ago)
- Last Synced: 2024-10-20T21:55:28.586Z (6 months ago)
- Language: C#
- Homepage:
- Size: 69.3 KB
- Stars: 35
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - noakesey/d365fo-entity-schema - Visual Studio extension to generate entity relation schema for Dynamics 365 Finance Operations (D365FO) (C# #)
README
# d365fo-entity-schema
This is a Visual Studio extension to generate an [entity relation schema](https://waywo.co.uk/2021/12/20/entity-relationship-diagrams/) for Microsoft Dynamics 365 Finance and Operations (D365FO) using Database Markup Language ([DBML](https://www.dbml.org/home/))The extension allows you to modify the generated schema by
- Adding / Removing individual tables
- Adding all tables that have an inbound relation to the selected table
- Adding all tables that have an outbound relation from the selected table
- Adding all related tables for all tables in the list
- Ignoring staging tables
- Ignoring self references
- Reducing the complexity of the schema by only including key fieldsSee this [blog](https://waywo.co.uk/2021/12/20/entity-relationship-diagrams/) for further details and example usage.
You can use a tool such as [dbdiagram.io](https://dbdiagram.io/d) to render the resulting DBML.

The extension is accessible from the _Generate entity relation schema_ menu from the Dynamics 365 Addins menu or from the table designer.

### Installation
Download the Waywo.DbSchema.Addin.dll from [Releases](https://github.com/noakesey/d365fo-entity-schema/releases). Unblock the .dll once downloaded (right click and view properties in file explorer.)
In your _Documents\Visual Studio Dynamics 365_ folder there is a DynamicsDevConfig.xml XML file. like this:
```xml
C:\D365CustomAddins
```Copy the Waywo.DBSchema.AddIn.dll to the AddInPath folder (create the folder or change the path as necessary) and then restart Visual Studio.