Today, Data Access Application Block from Microsoft Patterns & Practices has been found to have a new version V3.1. This version is different from the previous V2.0 version, and the ABSTRACT FACTORY mode can be supported in V3.1 to support a variety of databases. The new version of DAAB uses ADO.NET interface in an abstract base class, not the class of specific data suppliers. To increase support for a data provider, just inherit the abstract base class, then combine the app.config configuration file, read the assembly at runtime and return an example of the corresponding class. Specifically, you can refer to DAAB documents and QuickStart examples. This method is used early to .NET PETSHOP 3.0, now let Daab support Abstract Factory mode I feel too slow. DAAB 3.1 provides download by GotdotNet, you can access the GotdotNet Microsoft Patterns & Practices Data Access for .NET: Home Download the DAAB source and documentation. I was discovered from the article "Writing Portable Data Access Layer" from an article in Taiwan. The original article of this article is "Writing a Portable Data Access Layer". For more information about DAAB, please visit http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/daab-rm.asp border = "0" Name = "BOOK" marginwidth = "0" frameespace = "0" marginheight = "0" src = "http://www.netyi.net/in.asp?id=upto" frameborder = "0" NORESIZE = "NORESIZE "width =" 0 "scrolling =" no "height =" 0 "vSpale =" 0 ">