码迷,mamicode.com
首页 > Web开发 > 详细

ibatis.net demo

时间:2015-03-03 18:07:53      阅读:291      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!