Smartkid's binary life

博客园 联系 订阅 管理
  6 Posts :: 1 Stories :: 7 Comments :: 0 Trackbacks
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

posted on 2007-02-22 19:35 Smartkid 阅读(3944) 评论(7) 编辑 收藏

Feedback

#1楼 2007-02-24 16:37 JesseZhao      
牛逼东东,可惜我不使用IBatisNet,要是使用就一定爽坏了
 回复 引用 查看   

#2楼 2007-02-26 12:58 Anders Cui      
thanks!
 回复 引用 查看   

如何设置数据库连接

 回复 引用   

#4楼 2007-03-01 02:35 smartkid[未注册用户]
最上面的一个选项,SourceTable/SourceTables
 回复 引用   

#5楼 2007-04-22 21:43 deerchao      
说声谢谢。

如果能提供个选项不要生成那么多的DeleteBy/FindBy,只生成与Foreign Key列相关的就更好了。

 回复 引用 查看   

#6楼 2008-07-30 13:31 鹰击长空      
好像只用于sqlServer的,那个模板能不能支持Oracle呀
 回复 引用 查看   

请问IbatisNet的 sql in 语句怎么配置呢?
 回复 引用