Recording and broadcasting classroom Reservation System (ii)-server-side interaction with the database
650) this.width=650; "src=" http://images.cnitblog.com/blog/586310/201502/072256554854209.jpg "style=" border:0px; " />
650) this.width=650; "src=" http://images.cnitblog.com/blog/586310/201502/072300269854623.jpg "style=" border:0px; " />
Each table corresponds to so many classes, and the classes in the Data class library use a lot of stored procedures, which can be cumbersome if we need to write them manually. So we have adopted the method of Codesmith template.
It is important to note that in our development process, the template only generates some of the underlying operations related to the code, or there will be a part of the need for us to manually add, even so, the template also helps us do a lot of work.
The template generates the underlying Data operations section:
(1) Stored procedures
(2) Data layer related classes each table corresponds to a
(3) Business layer related classes each data table corresponds to two (entity class, Operation Class)
Www.cnblogs.com/networkcomms
www.networkcomms.cn
Recording and broadcasting classroom Reservation System (ii)-server-side interaction with the database