-
ADO.NET Tutorial
-
Chapter 1 Introduction
- ADO.NET Data Providers
- Connected and Disconnected Data
-
Chapter 2 .NET Data Providers
- Data Providers
- Selecting a Data Provider
- Creating a Custom Data Provider
-
Chapter 3 Connections
- Connection Object Overview
- The Connection String
- Opening and Closing Connections
- Connection Pooling
-
Chapter 4 Commands
- Command Object Overview
- Creating and Executing a Command
- Parameter Object Overview
- Parameterized Commands
- Commands with Stored Procedures
- Commands and Data Definition Language (DDL)
-
Chapter 5 DataReaders
- DataReader Object Overview
- Performing a Query with a DataReader
- Stored Procedures with the DataReader
- DataReaders and Schema Information
-
Chapter 6 DataSets
- Creating an Untyped DataSet
- Working with Tables in the DataSet
- Adding and Removing Relations
- Adding Custom Information
- Cloning the Schema
- Copying the DataSet
- Merging Two DataSets
- Removing All Data
- Resetting the DataSet
- Committing and Discarding Changes
-
Chapter 7 DataTables
- Creating a DataTable
- Working with Columns
- Constraints
- Primary Key
- Rows
- Loading Data
- Committing and Discarding Changes
- Cloning the Schema of the Table
- Copying the Table
- Selecting a Subset of Rows
- Performing Aggregate Calculations
- Removing All Data
- Resetting the Table
- Identifying Errors in the Table
- DataTable Events
-
Chapter 8 DataColumns
- Creating DataColumns
- Creating AutoIncrement Columns
- Creating Expression Columns
- Handling Null Values
- Mapping .NET Data Provider Types to .NET Framework Types
-
Chapter 9 DataRows
- Creating a DataRow
- Updating Rows
- Deleting Rows
- Using Row State Information
- Using Row Version Information
- Accepting or Rejecting Changes to Rows
- Navigating Parent and Child Rows
- Using Row Error Information
-
Chapter 10 Constraints
- Constraint Object Overview
- The UniqueConstraint
- The ForeignKeyConstraint
-
Chapter 11 DataRelations
- DataRelation Object Overview
- Navigating Relational Data
-
Chapter 12 DataViews and Data Binding
- The DataView and DataViewManager
- Sorting and Filtering
- Accessing Data Through a DataView
- Windows Data Binding
- ASP.NET Data Binding
-
Chapter 13 Strongly Typed DataSets
- Creating a Strongly Typed DataSet
- Adding a Row
- Editing a Row
- Finding a Row
- Null Data
- Navigating Hierarchical Data
- Annotations
-
Chapter 14 DataAdapters
- Creating DataAdapter Object
- Retrieving Data from the Data Source
- Retrieving Schema Information from the Data Source
- Updating the Data Source
- Mapping Tables and Columns
- AcceptChangesDuringFill
- ContinueUpdateOnError
- DataAdapter Events
-
Chapter 15 Updating the Data Source
- SqlCommandBuilder Class Overview
- Updating a Data Source Using Command Builder
- Updating a Data Source Using Custom Logic
- Refreshing Data After Updating
- Retrieving Updated Values from the Data Source
- Updating Data in Related Tables
- Handling Concurrency Issues
- Optimization
-
Chapter 16 Transactions
- Manual Transactions
- Isolation Levels
- Savepoints
- Nested Transactions
- Transactions Using a DataAdapter
- Automatic Transactions
-
Chapter 17 XML and the DataSet
- DataSet XML Methods
- Shaping DataSet XML
- Other .NET XML Classes
- XmlDataDocument Object Overview
- Using the Data Objects to Edit XML
- SQL Server 2000 XML
-
-
ADO.NET Core Classes
-
Chapter 18 The Connection Class
- Comments/Troubleshooting
- Properties Reference
- Methods Reference
- Events Reference
-
Chapter 19 The Command Class
- Comments/Troubleshooting
- Properties Reference
- Collections Reference
- Methods Reference
-
Chapter 20 The Parameter Class
- Comments/Troubleshooting
- Properties Reference
-
Chapter 21 The DataReader Class
- Comments/Troubleshooting
- Properties Reference
- Methods Reference
-
Chapter 22 The DataSet Class
- Comments/Troubleshooting
- Properties Reference
- Collections Reference
- Methods Reference
- Events Reference
-
Chapter 23 The DataTable Class
- Comments/Troubleshooting
- Properties Reference
- Collections Reference
- Methods Reference
- Events Reference
-
Chapter 24 The DataColumn Class
- Comments/Troubleshooting
- Properties Reference
- Collections Reference
-
Chapter 25 The DataRow Class
- Comments/Troubleshooting
- Properties Reference
- Collections Reference
- Methods Reference
-
Chapter 26 The Constraint Class
- Comments/Troubleshooting
- Properties Reference
- Collections Reference
-
Chapter 27 The DataRelation Class
- Comments/Troubleshooting
- Properties Reference
- Collections Reference
-
Chapter 28 The DataView Class
- Comments/Troubleshooting
- Properties Reference
- Methods Reference
- Events Reference
-
Chapter 29 The DataAdapter Class
- Comments/Troubleshooting
- Properties Reference
- Collections Reference
- Methods Reference
- Events Reference
-
Chapter 30 The CommandBuilder Class
- Comments/Troubleshooting
- Properties Reference
- Methods Reference
-
Chapter 31 The Transaction Class
- Comments/Troubleshooting
- Properties Reference
- Methods Reference
-
-
API Quick Reference
-
Chapter 32 How to Use This Quick Reference
- Finding a Quick-Reference Entry
- Reading a Quick-Reference Entry
-
Chapter 33 Converting from C# to VB Syntax
- General Considerations
- Classes
- Structures
- Interfaces
- Class, Structure, and Interface Members
- Delegates
- Enumerations
-
Chapter 34 The System.Data Namespace
-
Chapter 35 The System.Data.Common Namespace
-
Chapter 36 The System.Data.SqlClient Namespace
-
Chapter 37 The System.Data.OleDb Namespace
-
Chapter 38 The System.Data.SqlTypes Namespace
-
-
Appendixes
-
Appendix A ADO.NET Providers
- The SQL Server Provider
- The OLE DB Provider
- The ODBC .NET Provider
- The Oracle .NET Provider
- The ODP.NET Provider
-
Appendix B ADO.NET XML Extensions
- codegen Namespace
- msdata Namespace
- diffgr Namespace
-
Appendix C Microsoft Data Engine (MSDE)
- Installing MSDE
- MSDE Essentials
- Adding the Northwind Data
- Migrating MSDE to SQL Server
-
-
Colophon
- Title:
- ADO.NET in a Nutshell
- By:
- Bill Hamilton, Matthew MacDonald
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- April 2003
- Pages:
- 624
- Print ISBN:
- 978-0-596-00361-6
- | ISBN 10:
- 0-596-00361-7
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of ADO.NET in a Nutshell is an African spoonbill (Platalea alba). The African spoonbill a long-legged wading bird distinguished by a bare red face and legs, all-white plumage, and a long spatulate bill, the inside of which reacts to touch, causing the bill to snap shut on its prey. It feeds by fishing in shallow water, swinging its open bill from side to side.
The African spoonbill's habitat includes the lakes, marshes, rivers, and estuaries of southern Africa. A shyand alert bird, it's usuallyfound singlybut can also be encountered in pairs or in groups. It is usuallysilent except for an occasional grunt when alarmed. It flies with its neck and legs extended, flapping its wings steadily in the air.
At birth, this bird's beak is short; it graduallydevelops into its spoon-like shape. Following a spring courtship, eggs are laid in a nest platform of sticks or reeds in a tree near water; however, nests can also be found in swamp reeds, among rocks, marsh plants, or on cliffs. Males and females share incubation and feeding the young for about 20 to 30 days. Young birds begin to fly after another four weeks. Mary Anne Weeks Mayo was the production editor and copyeditor for ADO.NET in a Nutshell. Ann Schirmer proofread the book. Matt Hutchinson and Claire Cloutier provided qualitycontrol. Reg Aubry, Sue Willing, Genevieve d'Entremont, and Judy Hoer provided production assistance. Brenda Miller wrote the index.
Emma Colbydesigned the cover of this book, based on a series design by Edie Freedman. The cover image is an illustration from the 1898 edition of Animate Creation Illustrated. Bret Kerr produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font. David Futato designed and produced the CD label with QuarkXPress 4.1 using Adobe's ITC Garamond font.
Bret Kerr designed the interior layout, based on a series design by David Futato. This book was converted byMike Sierra to FrameMaker 5.5.6 with a format conversion tool created byErik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was compiled by Mary Anne Weeks Mayo.
