) Publish a set of web codesmith templates

Source: Internet
Author: User

Recently I made a factory-based codesmith WEB Project template, including the Dal layer and BLL layer. The architecture of the entire website is basically the same as that of petshop:

Myallstoredprocedures. CST: Specifies the database to generate all stored procedures.
Mybll. CST: business logic
Mydalfactory. CST: Dal Factory
Mydatacache. CST: Dal data cache class
Myidal. CST: Dal Interface
Mymodelobject. CST: entity class
Mysqlserverdal. CST: sqlserverdal data access layer
Mysqlutil. CST: sqlutil class
Mystoredprocedures. CST: Specifies the Stored Procedure for table generation.
Mytemplate. CST: generate all files and output the code generated by all the above templates.

Note:
Use mytemplate. CST to generate all. CS files to the specified directory. Use myallstoredprocedures. CST or mystoredprocedures. CST to generate a stored procedure. The preceding template files can be used independently.

This version is a test version. Due to the time relationship, it is just a simple test. If there is an error, please forgive me.
Click here to download mytemplates.rar
Test Project elfinnet.rar generated using this template

Http://justicfu.cnblogs.com/archive/2006/06/21/431690.html

Trackback: http://tb.blog.csdn.net/TrackBack.aspx? Postid = 821764

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.