CodeSmith Community
Your Code. Your Way. Faster!

IBatisNetGen -- CodeSmith template for IBatis.NET

IBatisNetGen generates IBatisNet SQL mapping file and a group of CSharp classes from a database table.

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.

Download IBatisNetGen



大口仔 2007-06-28 03:48 发表评论

Read the complete post at http://www.cnblogs.com/raymond19840709/archive/2007/06/28/798339.html


Posted Jun 27 2007, 02:48 PM by CodeSmith on NewsGator Online
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems