思归呓语

衣带渐宽终不悔,为伊消得人憔悴
随笔 - 413, 评论 - 3007, 引用 - 245

导航

关于

标签

每月存档

最新留言

  • re:xUnit.net
    <p>collection of woman's dresses and casual dresses on this site <a href="http://www.o...
    by dress(注册) on 2010/9/1 17:35:51
  • reply
    Free time is a great stuff but not any student is able to use that. Naturally college students stay ...
    by Kerr30SYBIL(注册) on 2010/8/27 23:51:37
  • re:【翻译】Entity Framework 特性CTP全程示范: Code Only
    <p> <p>Welcome to fashion goods online store,</p> <p>[b][url=http://www.chan...
    by chicken24(注册) on 2010/8/27 17:59:53
  • re:《C#与.NET 3.0高级程序设计(特别版)》
    <p><span style="font-family: Simsun; font-size: medium;"><a href="http...
    by h3300723(注册) on 2010/8/24 13:11:15
  • re:【翻译】实体框架中的POCO支持 - 第三部分 - POCO的变动跟踪
    <p><span style="font-family: Simsun; font-size: medium;"><a href="http...
    by h3300723(注册) on 2010/8/24 13:08:14
  • re:【翻译】Entity Framework 特性CTP全程示范: Code Only
    <p><span style="font-family: Simsun; font-size: medium;"><a href="http...
    by h3300723(注册) on 2010/8/24 13:08:06
  • re:【翻译】Code Only增强
    <p><span style="font-family: Simsun; font-size: medium;"><a href="http...
    by h3300723(注册) on 2010/8/24 13:07:59
  • re:站在巨人的肩膀上
    <p><span style="font-family: Simsun; font-size: medium;"><a href="http...
    by h3300723(注册) on 2010/8/24 13:07:48
  • re:Oslo
    <p><span style="font-family: Simsun; font-size: medium;"><a href="http...
    by h3300723(注册) on 2010/8/24 13:01:44
  • re:Oslo
    <p><span style="font-family: Simsun; font-size: medium;"><a href="http...
    by h3300723(注册) on 2010/8/24 13:01:28
  • reply this post
    The superb data referring to this topic must be free for people, because they demand <a href=&quo...
    by ClariceFlowers27(注册) on 2010/6/20 4:43:26
  • answer this topic
    Are you willing to get <a href="http://www.prime-resume.com">buy resume</a>, ...
    by BeverleyCopeland20(注册) on 2010/6/18 19:35:15
  • respond this topic
    I really loved the post. Although specially I think authority is satisfactory . As long as it does...
    by HodgesLara(注册) on 2010/6/18 3:46:16
  • respond this post
    People have an opportunity order the buy research paper and <a href="http://www.gogetessays....
    by FINCHMorgan(注册) on 2010/6/17 19:39:43
  • answer this topic
    Different persons should discus often about your superior article. I guess that, the best <a href...
    by AlisaEmerson25(注册) on 2010/6/15 6:11:01

广告

 

上个月底,MSDN上一个重大事件是Enterprise Library 1.0的推出。Enterprise Library 1.0把原先陆续推出的几个应用程序编码块(Application Blocks)更新后以统一的风格集中在一起,其扩展性和易用性大大增强,并提供了一个简单易用非常powerful的配置编辑工具

其中的Data Access Application Block有了很大的变化。ADO.NET中遭人批评的一点是没有提供一个共同界面在保持最佳性能的情形下来操作不同数据库(虽然有不少人做了类似努力,譬如参考这里),这种情形在早期Data Access Application Block版本中也没什么改变,但在Enterprise Library中的版本中推出了database-agnostic APIs。虽然还只支持SQL Server, Oracle, DB2,但你可以写自己的Provider来操作其他的数据库。譬如,你可以写类似下面的编码,只要在相应的配置文件中改变连接字符串以及Data Provider类名,即可操作其他数据库

using Microsoft.Practices.EnterpriseLibrary.Data;

Database db = DatabaseFactory.CreateDatabase();
DBCommandWrapper dbcw = db.GetSqlStringCommandWrapper("select au_lname as LastName, au_fname as FirstName from authors");
using (IDataReader reader = db.ExecuteReader(dbcw))
{
  DataGrid1.DataSource = reader;
  DataGrid1.DataBind();
}

跟Enterprise Library相关的连接

Enterprise Library下载

Enterprise Library Home

Enterprise Library Community Site

Blogs:

Tom Hollander

Scott Densmore

Hisham Baz commences

Martin Granell

打印 | 张贴于 2005-02-17 04:57:00 | Tag:暂无标签

留言反馈

#回复: Enterprise Library 编辑
我目前发现两个东西,castle 和enterprise library,我想学一个功能强一点,全一点的,该学哪个呢?
2007-01-11 21:53:00 | [匿名:灵魂机器]
#回复: Enterprise Library 编辑
很好用的东西阿,强烈支持
2006-12-12 16:45:00 | [匿名:zjysky]
#re: Enterprise Library 编辑
在好多问题贴中看到你的回复,向更多地了解你大脑里的东东,终于找到了。呵呵
2006-05-18 15:06:00 | [匿名:NZAS]
#re: Enterprise Library 编辑
CSDN的新论坛好像会用到这个
2006-02-20 09:37:00 | [匿名:DAVID]
#re: Enterprise Library 编辑
似乎搞到很复杂,但搞通透的话应该很好用
2006-02-17 11:44:00 | [匿名:bigcarp]
#re: Enterprise Library 编辑
哪儿有下载的呀?
2005-11-10 15:33:00 | [匿名:aa]
#re: Enterprise Library 编辑
怎么用啊,我以前的饿不能用了
2005-08-23 14:00:00 | [匿名:z楞 ]
#re:Enterprise Library 编辑
Enterprise Libraryooeess
2005-06-02 11:31:00 | [匿名:里氏硬度计]
#re: Enterprise Library 编辑
2.0版本的Application Blocks我已经用过了,当时DAAB还不支持DB2,自己扩展了一下让它能支持DB2。觉得挺好用的,不过得花几天时间去学习它
2005-05-12 09:18:00 | [匿名:hyphappy]
#re:Enterprise Library 编辑
^_~,pretty good!csharpsseeoo
2005-05-11 16:53:00 | [匿名:压力试验机]
#re:Enterprise Library 编辑
^_~,pretty good!18showsseeoo
2005-04-25 20:47:00 | [匿名:PID调节器]
#re: Enterprise Library 编辑
刚注意到这个。正在下。。。
2005-04-22 17:16:00 | [匿名:jick]
#re:Enterprise Library 编辑
^_^,Pretty Good!
2005-04-14 13:58:00 | [匿名:料位开关]
#re: Enterprise Library 编辑
汗~一些很简单的东西用不着写的那么复杂吧,一个连接数据库类就写成那个样子了,汗~~~
2005-04-13 23:10:00 | [匿名:晕]
#re: Enterprise Library 编辑
垃圾
2005-03-10 11:01:00 | [匿名:药]
#re: Enterprise Library 编辑
的确有点太复杂了,针对DAAB,我更愿意直接使用2.0版本
2005-02-19 13:30:00 | [匿名:mmkk]
#re: Enterprise Library 编辑
觉得太难用 ...

一个 Configuration 就搞那么复杂
2005-02-19 00:35:00 | [匿名:moslem]
#re: Enterprise Library 编辑
有了NHibernate,Sprint.Net等,这些东西的价值是什么呢?困惑~
2005-02-18 13:58:00 | [匿名:CodingPCPiG]
#re: Enterprise Library 编辑
怎么下载不了?
提示:Sorry, we are unable to show you the page you requested. Please try again later.
2005-02-18 10:13:00 | [匿名:天行者]
#re: Enterprise Library 编辑
只是把以前的block集中到一起而已,功能上没多大变化~~
对一个系统来说,这些都只是小东东
2005-02-17 17:24:00 | [匿名:babylone]
#re: Enterprise Library 编辑
偶是在1-29发现已经Available了(是1-28发布的),看来还算与时俱进:)
2005-02-17 14:59:00 | [匿名:chagel]
#re: Enterprise Library 编辑
和csdn上头的反应一样
连这里似乎都没有几个人关心这玩意儿...
2005-02-17 14:31:00 | [匿名:sunmast]
对不起,目前本随笔不允许发表新评论.

Powered by: Joycode.MVC引擎 0.5.2.0