DBML format is used to build database diagrams. Basically, it describes the tables, their columns, and the table relations. There are desktop and online tools which use the DBML text as input and produce graphical db diagrams as output.

To export your database structure to DBML, open the needed database and choose Tools | Exporting DB Structure to DBML... menu.

This interface allows to choose the schemata (if supported by your database) and tables to export.

Notes

Generating DBML code for MySQL database:

Generating DBML code

See also

 Database Structure Tree

 Database Objects

 Database Objects' Descriptions