文件名称:IBatisNet的Codesmith模板
文件大小:22KB
文件格式:RAR
更新时间:2013-08-07 01:38:29
IBatis Codesmith
generates IBatisNet SQL mapping file and a group of CSharp classes from a database table. 产生IBatisNET的SQL映射文件和三层代码 Output for each database table Entity, the C# class that represents a database record. DaoIntf, the C# DAO interface contains a group of data manipulation methods, such as: GetCount, gets the count of all records. FindAll, loads all database records. Find, loads a database record using primary key value(s). FindByXXX, loads a group of records by the value of a column. Delete, deletes a database record. DeleteByXXX, deletes a group of records of by the value of a column. Update, updates a database record. DaoImpl, the C# DAO implementation class that implements the interface referred by DaoIntf. SqlMap, the IBatis.NET SQL mapping file that contains SQL statements used in the DaoImpl above.
【文件预览】:
IBatisNetGen.DaoImpl.cst
IBatisNetGen.Entity.cst
IBatisNetGen.Database.cst
IBatisNetGen.DaoIntf.cst
CSBatisBuilder.cs
IBatisNetGen.BatisMap.cst
IBatisNetGen.html