How This Book Is Organized
This book is organized into 12 chapters, each of which focuses on a particular topic in creating ADO.NET solutions. Each recipe consists of a specific problem, stated as a question, followed by a solution and discussion. Here is a summary of each chapter:
- Chapter 1, Connecting to Data
The solutions in this chapter show how to connect to a variety of data sources from ADO.NET. Connecting to data sources involves connections strings, security-related issues including storing connection strings and how to use them, the different authentication methods available, and how to enable the user to build a connection string at runtime. Solutions show how to set up, monitor, and optimize connection pooling, and how to use transactions with pooled connection.
- Chapter 2, Working with Disconnected Data Objects
ADO.NET includes both connected and disconnected classes. The solutions in this chapter explain how to work with the ADO.NET disconnected classes—
DataColumn, DataTable, DataSet, unique constraint, primary key, foreign key, andDataRelation. You will also learn aboutDataRowarrays, how to access data in them, and how to convert between aDataRowarray andDataTable. Finally, you will learn about strongly typedDataSetobjects, how to create them, and how to customize aspects of them.- Chapter 3, Querying and Retrieving Data
The solutions in this chapter show how to retrieve data and schemas using SQL statements, parameterized SQL statements, parameterized stored procedures, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access