Chapter 4. Commands

Every interaction between a client and a data source, whether it is to retrieve information, delete a record, or commit a change, is governed by a Command object. In this chapter, we introduce the Command object in detail. You’ll learn how to define a command and use it to execute nonquery commands such as direct record updates, insertions, and deletions. You’ll also learn how to use parameterized commands and commands that access stored procedures.

Get ADO.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.