I saw a lot of people do it. CodeGenerator. Of course, I have also referred to many previous experiences here. The generated code format is defined by XSLT. Now this generator only generates the model. Specific extensions can be made in the project. You only need to expand XSLT. The annotations in the database are also processed. As long as you describe the fields when designing the table structure, the annotations will also be displayed during code generation, increase the readability of the Code. Currently, sqlserver supports model generation for views. Oracle has not created a model for the view. This
Code Generator is an IDE plug-in for vs2003. After installation, you can ProgramManager. In the displayed interface, set "database connection string", and then click "Main Program Interface ". I hope you will give more comments. Thank you.
Appendix: sqlclient is used for SQL Server processing.
Oracle processing uses oledb.
Please note when setting the database connection string. :).
Code: http://files.cnblogs.com/cookieswolf/DevelopAddin.rar
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service