An open API service indexing awesome lists of open source software.

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)

Awesome Lists containing this project

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 fields

See 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.

![image](https://github.com/noakesey/d365fo-entity-schema/assets/10977494/24226fc3-2a8b-4149-9cf7-135029fb8728)

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

![image](https://github.com/noakesey/d365fo-entity-schema/assets/10977494/bef505a6-e4f8-4a60-8597-80865984058c)

### 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.