Download Demo project-55 KB
Introduction
Some days ago, I was asked to find a solution to create a barcode to be printed on documents produced by a Web application. after trying to find some components that produced barcodes, I soon realized that their price was very high when dealing with an unlimited number of clients licences. I needed an alphanumeric barcode representation and the preferred barcode representation was code39.
In order to expose this service to the maxi
I recently developed a C # code generator on vs2005 and sqlserver2005 platforms, supporting direct ing between database tables and C # data objects, and automatic generation of CRUD operation code, you only need to implement the idal interface. This tool can significantly improve the development speed and free developers from the heavy coding of database table ob
"); $ } the the Virtual voidBUILDPARTB () the { theM_PSTPRODUCT-GT;SETB ("B Style"); - } in the Virtual voidBUILDPARTC () the { AboutM_PSTPRODUCT-GT;SETC ("C Style"); the } the }; the + classStdirector - { the Public:Bayi~Stdirector () the { the DeleteM_pstbuilder; - } - the voidSetbuilder (stbuilder*Psttmpbuilder) the { theM_pstbuilder =Psttmp
Recently, I made a C # entity class generator using my spare time. Currently, Mysql and Oracle databases are supported.
Share the demo program and source code with everyone. Interested readers can continue to expand and support other databases, but I will do it myself if I have time.
The interface is as follows:
Directly write the database connection string and click the connection button to list all tables
After nearly half a year of actual combat accumulation, at the end of June 2017, increased the third party open source software dtcms (4 and 5 support) code generation support.The DTCMS4/5 code that can be generated with one click is as follows:1.Model Classic three-layer solid2.DAL Classic Three Layer database access layer3.BLL Classic three layer business layer4.web/admin/list List page and code5.web/admin/edit edit page and code6.web/tools/ashx and additions and changes to the service page an
In practice, we need to write a large number of programs, for example, to convert a table into a class object or write a method to call a stored procedure with N parameters, You need to manually enter a large amount of code, and there is a lot of repeated code. To avoid a lot of repetitive work and work convenience, I wrote such a simple code generator based on my own needs. Its functions are as follows:
Function 1:
Configure the database connection s
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.