Description: Write a code generator
In actual into work, we need to write a lot of programs, such as a table into a class object or writing a call to take n parameters of the stored procedure method and so on all need to manually to input a lot of code, and there is a lot of duplicate code. In order to avoid a lot of repetitive labor, and also for the convenience of work, I wrote a simple code generator for my own needs. Its functions are as follows:
Feature 1:
Configure the connection to the database server (including IP database server, database, login account and password) and click ok to save the configuration, saved successfully after the button is not available, a pop-up message dialog at the same time.
Function 2;
Connect to the database, and the corresponding user tables, stored procedures, views, and so on are listed.
Feature 3:
Generate code, type the name of the class to be generated in the class name text box, select the appropriate table or stored procedure or view, and click generate code button to generate the corresponding code. The generated code is saved in the root directory of the c disk, as well as in the text box. If it is a user table or view, you generate classes with attributes and constructors; If stored, a class that generates a method to call the stored procedure is generated.
To Search:
- [c02 vc6] - Similar vc6 integrated development envi
- [1568] - 1.Borland 6.0 c builder of the developme
- [windowC] - Control the use of
- [jiemianbiancheng] - Realize the image of the preparation of
- [ATM] - The system implements the basic function
File list (Check if you may need any files):