DbDataAdapter DbDataAdapter DbDataAdapter DbDataAdapter Constructors

Definition

Overloads

DbDataAdapter() DbDataAdapter() DbDataAdapter()

Initializes a new instance of a DataAdapter class.

DbDataAdapter(DbDataAdapter) DbDataAdapter(DbDataAdapter) DbDataAdapter(DbDataAdapter) DbDataAdapter(DbDataAdapter)

Initializes a new instance of a DataAdapter class from an existing object of the same type.

DbDataAdapter() DbDataAdapter() DbDataAdapter()

Initializes a new instance of a DataAdapter class.

protected:
 DbDataAdapter();
protected DbDataAdapter ();
Protected Sub New ()

Remarks

When you create an instance of DbDataAdapter, the following read/write properties are set to the following initial values.

Properties Initial value
SelectCommand A new IDbCommand.
InsertCommand A new IDbCommand.
DeleteCommand A new IDbCommand.
UpdateCommand A new IDbCommand.
MissingMappingAction MissingMappingAction.Passthrough
MissingSchemaAction MissingSchemaAction.Add

You can change the value of any of these properties through a separate call to the property.

See also

DbDataAdapter(DbDataAdapter) DbDataAdapter(DbDataAdapter) DbDataAdapter(DbDataAdapter) DbDataAdapter(DbDataAdapter)

Initializes a new instance of a DataAdapter class from an existing object of the same type.

protected:
 DbDataAdapter(System::Data::Common::DbDataAdapter ^ adapter);
protected DbDataAdapter (System.Data.Common.DbDataAdapter adapter);
new System.Data.Common.DbDataAdapter : System.Data.Common.DbDataAdapter -> System.Data.Common.DbDataAdapter
Protected Sub New (adapter As DbDataAdapter)

Parameters

adapter
DbDataAdapter DbDataAdapter DbDataAdapter DbDataAdapter

A DataAdapter object used to create the new DataAdapter.

Remarks

This overload of the DbDataAdapter constructor is designed for use by a .NET Framework data provider when implementing a similar constructor for use in a clone implementation.

See also

Applies to