Bewerken

Share via


DataAdapter Constructors

Definition

Initializes a new instance of the DataAdapter class.

Overloads

DataAdapter()

Initializes a new instance of the DataAdapter class.

DataAdapter(DataAdapter)

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

DataAdapter()

Source:
DataAdapter.cs
Source:
DataAdapter.cs
Source:
DataAdapter.cs

Initializes a new instance of the DataAdapter class.

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

Remarks

When an instance of DataAdapter is created, the following read/write properties are set to the following initial values.

Properties Initial value
MissingMappingAction MissingMappingAction.Passthrough
MissingSchemaAction MissingSchemaAction.Add
TableMappings An array of TableMappings objects.

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

See also

Applies to

DataAdapter(DataAdapter)

Source:
DataAdapter.cs
Source:
DataAdapter.cs
Source:
DataAdapter.cs

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

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

Parameters

fromadapter
DataAdapter

A DataAdapter object used to create the new DataAdapter.

Remarks

This overload of the DataAdapter 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