{"id":13706485,"url":"https://github.com/noakesey/d365fo-entity-schema","last_synced_at":"2025-05-05T20:31:40.731Z","repository":{"id":44890636,"uuid":"440328564","full_name":"noakesey/d365fo-entity-schema","owner":"noakesey","description":"Visual Studio extension to generate entity relation schema for Dynamics 365 Finance Operations (D365FO)","archived":false,"fork":false,"pushed_at":"2024-12-19T12:09:30.000Z","size":71,"stargazers_count":38,"open_issues_count":1,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-12-19T12:39:49.379Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noakesey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-20T22:58:58.000Z","updated_at":"2024-12-19T12:09:34.000Z","dependencies_parsed_at":"2024-11-13T14:46:06.553Z","dependency_job_id":null,"html_url":"https://github.com/noakesey/d365fo-entity-schema","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noakesey%2Fd365fo-entity-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noakesey%2Fd365fo-entity-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noakesey%2Fd365fo-entity-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noakesey%2Fd365fo-entity-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noakesey","download_url":"https://codeload.github.com/noakesey/d365fo-entity-schema/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252571112,"owners_count":21769779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T22:00:57.810Z","updated_at":"2025-05-05T20:31:40.717Z","avatar_url":"https://github.com/noakesey.png","language":"C#","funding_links":[],"categories":["C# #"],"sub_categories":[],"readme":"# d365fo-entity-schema\nThis 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/))\n\nThe extension allows you to modify the generated schema by\n - Adding / Removing individual tables\n - Adding all tables that have an inbound relation to the selected table\n - Adding all tables that have an outbound relation from the selected table\n - Adding all related tables for all tables in the list\n - Ignoring staging tables\n - Ignoring self references\n - Reducing the complexity of the schema by only including key fields\n\nSee this [blog](https://waywo.co.uk/2021/12/20/entity-relationship-diagrams/) for further details and example usage.\n\nYou can use a tool such as [dbdiagram.io](https://dbdiagram.io/d) to render the resulting DBML.\n\n![image](https://github.com/noakesey/d365fo-entity-schema/assets/10977494/24226fc3-2a8b-4149-9cf7-135029fb8728)\n\nThe extension is accessible from the _Generate entity relation schema_ menu from  the Dynamics 365 Addins menu or from the table designer.\n\n![image](https://github.com/noakesey/d365fo-entity-schema/assets/10977494/bef505a6-e4f8-4a60-8597-80865984058c)\n\n## Installation\n\nDownload 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.)\n\n### Virtual Machine Experience\nIf you are installing this AddIn to Visual Studio within a Cloud Hosted Development Environment, you need to update the DynamicsDevConfig.xml file in your _Documents\\Visual Studio Dynamics 365_ folder like this:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cDynamicsDevConfig xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" \n                   xmlns=\"http://schemas.microsoft.com/dynamics/2012/03/development/configuration\"\u003e \t    \n  \u003cAddInPaths xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\"\u003e \t\t \n      \u003cd2p1:string\u003eC:\\D365CustomAddins\u003c/d2p1:string\u003e \t\n  \u003c/AddInPaths\u003e   \n\u003c/DynamicsDevConfig\u003e \n```\n\nYou can then copy the Waywo.DBSchema.AddIn.dll file to the folder specified above (create the folder or change the path as necessary) and then restart Visual Studio.\n\n### Unified Developer Experience\nIf you are installing this AddIn to Visual Studio under the Unified Developer experience (i.e. you have installed Visual Studio locally) then you will need to copy the Waywo.DBSchema.AddIn.dll file directly to the D365FO AddIn folder which will be somewhere like the following depending on the edition of Visual Studio you have installed:\n\n```C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\Common7\\IDE\\Extensions\\ej3ajitu.lxk\\AddinExtensions```\n\n## Build\nThe referenced libraries will be in a folder similar to the following, depending on the platform version:\n```\nC:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\Common7\\IDE\\Extensions\\XXXXXXXX.YYY\\\n```\nIt's important to build with the libraries included with Visual Studio rather than the libraries in the AOS folder.\n\nIt seems safe to ignore the following error message:\n```\nError\tNU1101\tUnable to find package Microsoft.Dynamics.AX.Metadata.Core. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoakesey%2Fd365fo-entity-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoakesey%2Fd365fo-entity-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoakesey%2Fd365fo-entity-schema/lists"}