Mimer Data Provider

MimerDataAdapter Class

Represents a set of data commands that are used to fill a DataSet or DataTable and subsequently transfer changes from the DataSet or DataTable back to the database.

For a list of all members of this type, see MimerDataAdapter Members.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Data.Common.DataAdapter
            System.Data.Common.DbDataAdapter
               Mimer.Data.Client.MimerDataAdapter

[Visual Basic]
NotInheritable Public Class MimerDataAdapter
    Inherits DbDataAdapter
    Implements IDbDataAdapter
[C#]
public sealed class MimerDataAdapter : DbDataAdapter, IDbDataAdapter
[C++]
public __gc __sealed class MimerDataAdapter : public DbDataAdapter, IDbDataAdapter
[JScript]
public  class MimerDataAdapter extends DbDataAdapter, IDbDataAdapter

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The SelectCommand determines what rows are retrieved from the database when the Fill method is called.

When the Update method is subsequently called any changes made to the data are applied. Rows that have been added, use the InsertCommand, rows that have been changed are applied through the UpdateCommand and finally the rows that have been removed use the DeleteCommand. The Update method use the SourceColumn and SourceVersion properties to access the correct versions of the rows in the DataSet.

Error handling is specified through the ContinueUpdateOnError property.

Control over individual changes is available by using the RowUpdating and RowUpdated events. The events are also useful for error processing.

Requirements

Namespace: Mimer.Data.Client

Assembly: Mimer.Data.Client (in Mimer.Data.Client.dll)

See Also

MimerDataAdapter Members | Mimer.Data.Client Namespace