Dongsoft .Net code generator version 2.1 or above supports the code plug-in mechanism and scalable code generation plug-ins. Users can customize their own code generation plug-ins, develop their own code generation methods according to the interface, and generate code according to user needs. For details, see the plug-in interface development help and source code.
The component source code of several typical code generation methods is provided here for reference.
Included components:
1.BuilderBLLComm BLL layer code template component source code.
2.BuilderDALELParam DAL layer code constructor (based on enterprise library method)
3.BuilderDALParam DAL data access layer code constructor (Parameter mode)
4.BuilderDALSQL DAL data access layer code constructor (based on SQL method)
5.BuilderModel Model code generates component source code.
6.BuilderWeb Web layer code generation component source code.
7.Lib needs to be referenced.
This version provides two versions of project files, VS2008 and VS2010. At the same time, we hope that everyone can share the code generation plug-ins they have developed online. Other netizens can also use the developed plug-ins to overwrite the plug-in library files in the installation directory or through plug-ins. Management adds new plug-ins. Try to avoid duplication of development. This will also give everyone an opportunity to communicate.