|
本书为.net程序员必备书之一,对ADO.net做出了详细的讲解。全书共14章,584页,对数据库的事务处理、视力等高级技术做出了深入的练习。
Pro ADO.NET 2.0 starts out with the basics: ADO.NET Object Model, Connected vs. Disconnected Models of ADO.NET, and the different players in each category (Connections, DataReaders, DataSets, etc.). It provides a concise and meaningful des cription of these objects as opposed to regurgitating MSDN documentation and every last property or setting.
Examples are provided throughout the book in both C# and VB.NET that target mostly SQL Server, but mention Oracle when appropriate. The examples cover the basics and provide “templates” of how the ADO.NET code should flow in your own programs. Once the fundamentals are described, the author goes further and discusses more advanced, real-world scenarious as well as the do's and don'ts.
The focus on best practices and advanced scenarios in Pro ADO.NET 2.0 deserves a special note. Many books in the past on ADO.NET just bore you with too many details on the object model and basics that don't help much in the real world. Sahil has taken the book to a much more useful and practical level by helping you avoid pitfalls and explaining how and when to use the most advanced topics, such as transactions, SQLCLR, concurrency in multiuser applications, etc.
The last chapter focuses on ADO.NET Best Practices. Here is where we get into some discussions that are usually heavy battles on blogs, such as DataReader vs. DataSet, Objects vs. DataSets, etc., as well as good discussions on Transactions, Caching, Datasets / Typed Datasets, etc. Sahil does a good job of introducing these topics and providing some real-world thoughts and avoiding all the non-objective junk that goes along with it.Pro ADO.NET 2.0 is a guide and reference for.NET developers who are looking to further their understanding of ADO.NET 2.0.
This book takes a new approach, focusing on the practical tasks like connecting to the database, retrieving data, and working with transactions, rather than rehashing much of the MSDN documentation. Pro ADO.NET 2.0 offers the deep and much needed practical understanding, viewpoint, and knowledge developers are looking for.
This book explains what is available in ADO.NET by associating it with the need to solve a practical problem and better architect an application, rather than mugging up the hundreds of classes and properties available in the framework. |