Skip to content

DbDiagramIo.CLI v1.0.0

Latest
Compare
Choose a tag to compare
@TomasBouda TomasBouda released this 25 Jan 13:43
· 2 commits to master since this release

Features

  • Added CLI application that allows to generate dbml from mssql db

Available arguments:

  -v, --verbosity            (Default: Information) Sets the serilog log level.

  -c, --connection-string    Required. The connection string to the database.

  --exclude-schemas          The schemas to exclude from the dbml output. You can use LIKE syntax here.

  --exclude-tables           The schemas to exclude from the dbml output. You can use LIKE syntax here e.g. 'AspNet%' to
                             exclude all tables starting with 'AspNet'.

  -o, --output-file          The file to write the dbml output to. If not provided, the output will be written to the
                             console.

  --help                     Display this help screen.

  --version                  Display version information.

Example

.\DbDiagramIo.CLI.exe -c "Server=.;Database=MyDatabase;Integrated Security=true;" --exclude-schemas "Hangfire;serilog" --exclude-tables "AspNet%" -o "D:\Root\dbml.txt" -v 1