"C #" Excel-made data tables, SqlParameter code generation tools

Source: Internet
Author: User

Reprint please specify the source http://www.cnblogs.com/Vulpers/

Made a small code generation tool to quickly generate some very repetitive code when creating a new data table, currently supporting only SQL Server database and C # language, roughly the following functions

First, write the fields and field properties in the table that you need to create a new table, such as:

If the cell turns red during the input process, the cell needs to fill in the contents or the content is incorrect.

After that is the function of the above three buttons

Database script:

Click to go to the page, copy the code into the database management tool and execute to generate the table

SqlParameters:

This page is divided into left and right two pieces, need to be copied and pasted separately

C#model

Go back to the table design page and choose Sheet1 from the tabs below.

The various types of correspondence are written on the data source page, and you need to make your own changes

Download Link: https://github.com/VulperVoid/PersonalTools

PS: Because it is temporary write, inevitably there are many shortcomings and shortcomings, I hope you can put forward valuable suggestions to improve the small tool to make it more convenient

"C #" Excel-made data tables, SqlParameter code generation tools

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.