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
- Columns and table relations can have different set of attributes for different database types.
- Database Tour currently supports table relations processing only for Oracle, SQL Server, PostgreSQL, MySQL, Interbase, and Firebird databases.
Generating DBML code for MySQL database:
See also