DbDataAdapter Constructor ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of a DataAdapter class.

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

Protected Sub New

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
Available since 1.1
Return to top
Show: