I did not expect the article "Enterprise Library EntLib first knowledge (2) -- Data Access Application Block DataAccessApplicationBlock" written in to be followed by friends now. At your requirements, I will present the DEMO in teaching, for a wide range. NET fans, especially those interested in enterprise libraries.
In fact, it is very convenient and simple to apply the Enterprise Library to enterprise development. Due to the short latency (about 2 or 3 seconds) of the enterprise database 1.1DAAB during initial operation, it is overwhelmed by the "huge" and "inefficient" shadows, so many people do not want to use it. However, its performance has been continuously improved in the enterprise database 2.0 and 3.0, so its availability is still very high. In other words, I personally think that, as part of Patterns & Practices, the true significance of the Enterprise Library lies in. NET Framework class library is the best way to use (practice), for data access, of course, there is no direct use of ADO. NET objects are more direct and faster, but if you use ADO directly anywhere. NET object, isn't it back to "Ancient Times? Of course, it doesn't mean that enterprise database DAAB should be used in any environment, just like the PetShop4.0 architecture, it is already using the Provider Model to implement data access policies (for details about the Provider Model, see the http://www.cnblogs.com/Ryu666/archive/2006/11/15/560588.aspx), if you replace its SQLHelper with the Enterprise Library DAAB, this means that the same policy mode is applied to data access. The result is that there is no need for performance degradation. Therefore, only when the enterprise database is properly used can the enterprise productivity be improved and the product quality be improved.
Instead of selling advertisements, the Enterprise Library is indeed a good thing ~. In addition, I suggest that you study the enterprise database version 1.1 For the purpose of learning. Why? Have you ever wondered where new features such as ASP. NET2.0 configuration, Membership, Roles, and Profile have evolved today? By understanding enterprise database 1.1, you will soon find the answer to Trust me. Good Luck!
Download example:
Ryu666enterprise-level lesson4v0.4.zip