Export (0) Print
Expand All

DbDataAdapter Constructor

Initializes a new instance of a DataAdapter class.

Namespace:  System.Data.Common
Assembly:  System.Data (in System.Data.dll)

protected DbDataAdapter()

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show:
© 2015 Microsoft