Chapter 22. Saving Data to the Data Source

IN THIS CHAPTER

Up to this point, discussion on ADO.NET has been restricted to working with data apart from the originating data source. This is true at least as it relates to data persistence. This chapter discusses how you save data changes back to the originating data source. It also discusses how to group related updates into a single operation called a transaction in order to ensure that the grouping succeeds or fails collectively. In the chapter, I discuss the SQLDataAdapter, SQLCommandBuilder, and SQLCommand classes. However, the content here also applies, for the most part, to the equivalent classes ...

Get Delphi for .NET Developer’s Guide 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.