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 ...
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