Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 1.18 KB

README.md

File metadata and controls

21 lines (18 loc) · 1.18 KB

MySQL-To-CSharp

This tool generates C# classes and markup pages for entire MySQL databases (including tables).

Hint

This is an old project which i quickly hacked together. It works fine (it doesn't respect nullables though) but the code is very messy. If you're working on something similar, i'm more than happy to archive this and add a link to your project to this readme.

How to use

Run the program with the following arguments

Parameter Default value Description
-i 127.0.0.1 (optional) IP address of the MySQL server, will use 127.0.0.1 if not specified
-n 3306 (optional) Port number of the MySQL server, will use 3306 if not specified
-u root (optional) Username, will use root if not specified
-p (optional) Password, will use empty password if not specified
-d Database name
-t (optional) Table name, will generate entire database if not specified
-g (optional) Generate a reading constructor and SQL statement output - Activate with -g true
-m (optional) Generate markup pages for database and tables which can be used in wikis - Activate with -m true
-r (optional) Will use this instead of database name for wiki breadcrump generation