12.6. DataAdapter class

Earlier in this chapter, we defined the data adapter as a set of Commands and a Connection that are used to get data from a data store and put it in a DataSet. Data adapters implement the IDataAdapter interface that defines the following properties.

  • MissingMappingAction This property specifies whether unmapped source tables or columns are passed with their source names in order to be filtered or to raise an error. This property is of the MissingMappingAction type and it can have the values Error (which indicates that a SystemException should be generated), Ignore (which indicates that a column or table without a mapping is ignored), and Passthrough (which indicates that the source column or source table has been created ...

Get A Programmer's Guide to .NET 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.