企业库与ADO.net的我们自己的包装器类 [英] Enterprise Library vs Our Own wrapper classes for ADO.net

查看:117
本文介绍了企业库与ADO.net的我们自己的包装器类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,
我们的团队将要制造产品.因此对于< b> Enterprise library//b是否更好的产品或我自己的< b"包装程序类</b>
给我这两个方面的利弊
谢谢

Dear All,
Our team going to make a product. so for the product which is better whether <b>Enterprise library</b> or my own <b>wraper classes</b>
give me pors and cons of both
Thanks

推荐答案

选择并不是一个简单的选择:您必须通过自己的研究来确定最适合您的选择.我自己的立场是,我喜欢在小型应用程序中使用自己的应用程序,而在大型应用程序中使用EF4(尽管由于各种与此处无关的原因,它可能会更改为使用自己的应用程序).
该库的确引入了一层抽象和膨胀,如果您自己滚动,则不会获得.另一方面,该库将为您提供很多东西,使您可以更快地提高生产效率.

我建议您阅读该库的文档,并与自己的经验和推出自己的解决方案的后果进行比较,看看自己的想法.
It''s not that simple a choice: you have to decide which suits you best by doing your own research. My own position is that I like to roll my own for small applications and use EF4 for larger ones (although that may change back to roll your own for a variety of reasons not pertinent here).

The library does introduce a layer of abstraction and bloat that you won''t get if you roll your own. On the other hand the library will give you lots of stuff out of the can so you may get productive more quickly.

I would suggest that you read the docs for the library and see what you think for yourself comparing to your own experience and consequences of rolling your own solution.


这篇关于企业库与ADO.net的我们自己的包装器类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆