Book description
"Essential ADO.NET is a comprehensive guide for developers of data-aware applications who want to transition to Microsoft's new .NET data access architecture. If you want to dig deep into the how's and why's of ADO.NET, this book will prove to be a worthy guide."
—Omri Gazitt, Product Manager of ADO.NET and Product Unit Manager, XML, Microsoft
"Bob Beauchemin packs a career's worth of knowledge into ten well-organized chapters, each one dense with information and insights. If you work with databases on Windows, buy this book."
—David Chappell, Principal of Chappell & Associates
Microsoft's ADO.NET enables Windows-based applications to access many types of databases from a variety of different vendors. This technology offers the advantage of cross-database flexibility that is essential for Internet and distributed-computing success.
Essential ADO.NET presents a thorough explanation of ADO.NET, exploring in depth the capabilities of classes, interfaces, properties, and methods. This book also examines the structure of data and demonstrates the ways in which ADO.NET can solve data access challenges. In particular, the discussion focuses on how ADO.NET effectively balances the need for generic functionality with efficiency, and how it is specifically designed to address today's need for scalability, concurrency, and robustness. A convenient reference for programmers moving from other data access APIs, including OLE DB, ADO, ODBC, and JDBC, Essential ADO.NET correlates classes and functions from these other APIs to those of ADO.NET.
You will find practical information on:
How the ADO.NET model can be used to access relational data stores
The DataSet class for in-memory data representation
How ADO.NET handles concurrency conflict-resolution problems
Guidelines for deciding when to use an online stream (DataReader) or offline cache (DataSet)
How to map database information using ASP.NET WebForm
How ADO.NET integrates relational data storage and XML representation with Microsoft's SQL Server
Essential ADO.NET is the most complete source of information for this crucial piece of the new Microsoft platform. Whether you are new to this application or have used it before, this book will help you to understand and get the most out of ADO.NET.
0201758660B05132002
Table of contents
- Copyright
- Foreword by Tim Ewald
- Foreword by Richard Grimes
- Preface
- Acknowledgments
- Data: Models, Applications, and APIs
- ADO.NET Basics
-
The Connected Model: Streaming Data Access
- .NET Data Providers and the Connected Model
- Connection Classes
- Connection Pooling
- Metadata Methods
- Commands
- Using Parameters
- Command Preparation, Cancellation, Timeouts, and Cleanup
- Streaming Data through a DataReader
- Reading Column Values through IDataRecord
- Error Handling
- Using Transactions
- Permission Classes
- Where Are We?
- The DataSet Class: Sets of Relational Data
-
DataAdapters: Synchronizing Databases and Datasets
- Optimistic Concurrency
- DataAdapter Classes
- Populating a DataSet from a Managed Provider
- How DataAdapter.Fill Works
- ADO Integration in OleDbDataAdapter
- Updating a Database through DataAdapter
- How Update Works
- The DataSet Event Model
- Writing General Customized Commands
- DataSets and Nonrelational Data Types Revisited
- Should You Use DataSet or DataReader?
- Where Are We?
-
Data Binding: ADO.NET and Graphical User Interfaces
- Windows Forms and Web Forms
- Patterns of Data Presentation
- Using Databound Controls
- Data Binding with DataSets
- DataViews and Common Transformations
- Table and Column Mappings
- Editable List Controls: DataList and DataGrid
- Nonrelational Data and DataViews
- Integrating Visual Studio
- Controls and Data Forms
- Where Are We?
- XML and Data Access Integration
-
Providers: ADO.NET and Data Providers
- What Are Your Choices?
- Staying with OLE DB: A Summary of OLE DB Concepts
- Staying with OLE DB: Interaction with the OleDb Data Provider
- Writing a Data Provider
- Implementing the Connection Class
- Implementing the Command Class
- Implementing the DataReader Class
- Implementing the DataAdapter Class
- Adding Enhanced Functionality
- Implementing XML Infoset Providers
- Implementing XmlReader
- Implementing XPathNavigator
- Implementation Alternatives: Conclusions
- Is a Single Universal Data Access Model Possible?
- Where Are We?
-
Consumers: ADO.NET Migration for Consumers
- ADO.NET Migration Paths
- ADO.NET for OLE DB Programmers
- A Brief Overview of ADO
- ADO.NET for ADO Programmers
- ADO Connections, Commands, and Transactions
- ADO.NET Versus ADO Disconnected Model
- ADO DB Interoperability
- ADO.NET for ODBC Programmers
- ADO.NET for JDBC Programmers
- ADO.NET JDBC Programmers and the Disconnected Model
- SQL/J Part 0 and Typed DataSets
- Where Are We?
-
ADO.NET and Various Types of Data
- Evolution in Data Access
- ADO.NET with Server- and File-Based RDBMS
- ADO.NET with Homogeneous Hierarchical Data and ORDBMS
- ADO.NET and Network Data: Object Graphs, ODBMS, and Network DBMS
- ADO.NET and Structured Files, Multidimensional Data, and ORDBMS
- ADO.NET Flat Files and Semistructured Files
- Where Are We Going?
- Data Types and Type Mappings
- Expression Syntax
- Schema Inference Rules
- Bibliography
Product information
- Title: Essential ADO.NET
- Author(s):
- Release date: May 2002
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780201758665
You might also like
book
Generative Deep Learning, 2nd Edition
Generative AI is the hottest topic in tech. This practical book teaches machine learning engineers and …
book
Learning TypeScript
TypeScript has conquered the world of JavaScript: it's one of the world's fastest growing and most …
book
C# Cookbook
Even if you're familiar with C# syntax, knowing how to combine various language features is a …
book
Programming WCF Services, 4th Edition
Programming WCF Services is the authoritative, bestselling guide to Microsoft’s unified platform for developing modern, service-oriented …