首页 > Web开发 > 详细

ibatis.net demo

时间:2015-03-03 18:06:52      阅读:340      评论:0      收藏:0      [点我收藏+]

 

 


1. download ibatis.net
https://code.google.com/p/mybatisnet/

2. add all dll as reference to your project (or add dlls in folder a as reference to your project)

3. create configuration files as follow:
providers.config
SQLMap.config
maps/T1Map.xml

4. create your database using the sql script in CreateDb.txt

5. create ibatishelper(you can copy and reuse the file IBatisHepler.cs)

6. using the code in Main function in program.cs to test

 

download

 

ibatis.net demo

原文:http://www.cnblogs.com/zyip/p/4311340.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!