Is there any way to generate database-design diagrams using C# code?
I want to automate database design generation to be able to generate multiple sequence diagrams at once of different database types, e.g. SQL Server, Oracle, MySQL.
My basic approach:
I have to generate the ER diagram of around 100 applications. I have connection strings for all different applications. On connecting to its database server, I think I have to generate all model classes from SQL and use it to generate its ER diagram similar to the entity framework. Is there any better approach as I just want to generate ER diagrams only?
Let me know if any other information is required.
Database diagrams are supported by visual tool (SSMS) not by SQL Server. Hence, the goal is to automate the creation of diagram support for every database. There are at least two way :