Chad 2008-08-14
我的inluck.net现在还是在用.NET Framework 1.1, 最近想把它改版, 所以就要先做一个底层.
花了两个星期(从筹备开始应该超过一个月了...), 终于写了个能用的像样的东西出来了. 这个Inluck.Net.DataAccess完全基于Microsoft Enterprise Library 3.1, 属DAL(Data Access Layer), 可完美实现多种数据库的ORM ( Object Relational Mapping), 1.0.0版本已经实现了对SQL-Server2000/2005以及Access2003的支持并通过严格的测试, 以后的版本将会支持ODBC,ORACLE和EXCEL.
它的主要特性有:
1. 能让开发人员更快更安全的进行数据库操作, 快速实现单对象操作.
2. 强大的条件查询系统, 支持AND,OR,括号等逻辑,实现>,<,=,<>,>=,<=,LIKE等表达式.
3. 支持Access,SQL-Server2000/2005,ODBC,ORACLE,EXCEL等数据源(目前1.0.0版本只支持Access,SQL-Server2000/2005).
4. 支持事务, 可回滚数据库操作.
5. 支持单对象查询翻页, 跳过记录数等.
6. 提高安全性, 防注入攻击.
为了方便与有兴趣的朋友互相学习, 交流, 我已经把它作为开源项目(取名为DAEE, 即DataAccess Extended from Entperise Library 3.1), 放到www.codeplex.com上面发布了, 源码可以在这里下载:
http://www.codeplex.com/daee/Release/ProjectReleases.aspx?ReleaseId=16276
DAEE ver 1.0.0
Released: Aug 14 2008
Updated: Aug 14 2008 by chad
Rated:
based on 0 ratings
Reviewed: 0 reviews
Downloaded: 4 downloads
Wiki link: [release:16276]
Release NotesDAEE ver 1.0.0 is featuring:
1. a strong and extensible DbCmdBuilder, which is the core of DAEE.
2. a flexible command object -- Commander, with which fast development is promised.
3. a data object buider -- DbObjectMapper, which can generate code mapping database objects ( tables and views ), allowing fast development. Currently supports Microsoft SQL-Server and Microsoft Access.
4. a sample application is also attached, you will find all the basic operations and some advance operations in it.