This is a online code generator, it can easily convert database
table into code. By clicks and code will be created for you.
Now, it supports MySQL/PHP and MSSQL/VB.net. Before you generate code, you need get the table structure first.
- Open SQLyog.
- Run query "show columns from yourtable; "
- Go to Result and right click the result.
- Click "Copy All Rows To Clipboard..."
The table must have one PRI Key. Click here to download related files for php.
- Open Microsoft SQL Server Management Studio
- Right click the table.
- Select Script Table as->CREATE To->Clip board
The table must have one IDENTITY column.
For code generating, you need find right template and click "generate code" and paste table structure. Click "Generate code" button .
it will generate several code files.