Initialize the model generator.
A MySQLDataContext instance that is connected to the INFORMATION_SCHEMA database. It's used to select metadata about tables, columns, and constraints.
A TableFormatter instance that is used to format the names of generated class entities.
A ColumnFormatter instance that is used for formatting property names in the generated class entities.
A RelationshipFormatter instances that is used to format relationship property names.
A PathHelper instance for creating the entity directory.
A ColumnFormatter instance that is used for formatting property names in the generated class entities.
A PathHelper instance for creating the entity directory.
A RelationshipFormatter instances that is used to format relationship property names.
A TableFormatter instance that is used to format the names of generated class entities.
Generate models for the provided database.
A database name. A model will be generated for each table in the database.
A path to which entity files will be saved.
An array of ModelTable. Calling [[ModelTable.toString()]] will return the entity class definition.
Write an array of ModelTable to disk using entDir as the path.
An array of ModelTable to write to disk.
The path to which models should be written.
Generated using TypeDoc
A model generator for MySQL that uses database metadata stored in the INFORMATION_SCHEMA tables to generate Table-decorated entities.