其实我没有用太多的功能,只是用到了一个比较方便的功能而已。呵呵
我用的是笔记本,虽然有1G内存,但是还是感觉少。
因为要控制内存占用,我装了mysql,但是我一个项目的服务器却是sql server 2005
不得已我修改了enterprise library的代码,加入了对mysql的支持。也就是说修改后的enterprise library同时支持了sqlserver,mysql,oracle和oledb方式。
于是在项目中我尽量控制使用sql 92标准。即使没使用,我也做了校验和检查。
在app.config和web.config中我提供了两种配置支持:sql server和mysql
当项目完成后,部署到服务器时,我只修改了xxx.config中的defaultdatabase名称就平滑迁移过去了,代码没做任何修改
enterprise library自动通过.config寻找到对应的数据库privoder
这种平滑的迁移最初让我担心,但是后来让我惊喜。
很好,很方便。对于那些可能切换数据库(sqlserver和oracle)的开发是不错的方式。
呵呵,这也算是"工厂模式"的好处吧。
胡言乱语ing
分享到:
相关推荐
Microsoft Enterprise Library is a collection of reusable application blocks designed to assist software developers with common enterprise development challenges. This release includes: Data Access ...
Enterprise Library 3.1 是 Microsoft patterns & practices Enterprise Library 的一个新的发行。Enterprise Library 是一个应用程序块的集合。这些可重用的软件组件为帮助开发者解决普通企业开发的挑战而设计。这...
微软C#企业库Enterprise Library 6 Docs.chm 文档patterns & practices Developer Center This documentation is preliminary and subject to change. Welcome to Enterprise Library. The following sections ...
Enterprise Library系列课程概述\Enterprise Library系列课程(7)
Enterprise Library 3.0.part1,第一部分。 <br/>Enterprise Library是微软Patterns & Practices 项目组 推出的公共模块解决方案,用来解决我们在企业级开发中遇到公共问题,如配置管理、数据访问、缓存管理、...
包括各种Microsoft.Practices.EnterpriseLibrary.Common.dll的版本,如Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel等
Microsoft Enterprise Library January 2006,支持mysql。 Microsoft.Practices.EnterpriseLibrary.Data.dll。 可用于.net框架2.0。
Microsoft.Practices.EnterpriseLibrary.Data.dll Microsoft.Practices.EnterpriseLibrary.Common.dll Microsoft.Practices.ObjectBuilder.dll
Enterprise Library 3.0.part3.rar,第三部分。 <br/>Enterprise Library是微软Patterns & Practices 项目组 推出的公共模块解决方案,用来解决我们在企业级开发中遇到公共问题,如配置管理、数据访问、缓存管理...
最近 Enterprise Library 6 正式版发布了,距离上了版本又有一段时间.首先我们来看下面这张模块图,实线表示强依赖,虚线表示弱依赖(或可选的). 6.0版本全面支持.net Framework 4.5.
[Addison-Wesley Professional] Effective Use of Microsoft Enterprise Library Building Blocks for Creating Enterprise Applications and Services [Apress] The Definitive Guide to the Microsoft Enterprise...
Microsoft Enterprise Library 参考第二版,微软企业级开发工具集
使用微软企业类库Microsoft Enterprise Library4.0访问达梦数据库的源代码
Enterprise Library4.1安装包下载
Enterprise+Library 的最新版源代码
Microsoft Enterprise Library 5.0.pdf
vs2017 工程 用EnterpriseLibrary.6链接MySQL数据 MySql.Data.8.0.15 EnterpriseLibrary.Data.6.0.1304.0 EnterpriseLibrary.Common.6.0.1304.0
Enterprise Library 5.0 源码 已编译dll
Enterprise Library 4.1 安装程序
最新版微软企业库Enterprise Library 4.1的文档介绍,里面有非常详细的图文教程