DataAdapter Members
Collapse the table of content
Expand the table of content

DataAdapter Members

DataAdapter overview

Public Properties

public propertyAcceptChangesDuringFill

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether AcceptChanges is called on a DataRow after it is added to the DataTable during any of the Fill operations.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyContinueUpdateOnError

Supported by the .NET Compact Framework.

Gets or sets a value that specifies whether to generate an exception when an error is encountered during a row update.
public propertyMissingMappingAction

Supported by the .NET Compact Framework.

Determines the action to take when incoming data does not have a matching table or column.
public propertyMissingSchemaAction

Supported by the .NET Compact Framework.

Determines the action to take when existing DataSet schema does not match incoming data.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertyTableMappings

Supported by the .NET Compact Framework.

Gets a collection that provides the master mapping between a source table and a DataTable.

Public Methods

public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodFill

Supported by the .NET Compact Framework.

Adds or refreshes rows in the DataSet to match those in the data source using the DataSet name, and creates a DataTable named "Table".
public methodFillSchema

Supported by the .NET Compact Framework.

Adds a DataTable named "Table" to the specified DataSet and configures the schema to match that in the data source based on the specified SchemaType.
public methodGetFillParameters

Supported by the .NET Compact Framework.

Gets the parameters set by the user when executing an SQL SELECT statement.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.
public methodUpdate

Supported by the .NET Compact Framework.

Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified DataSet from a DataTable named "Table".

Public Events

public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.

Protected Constructors

protected constructorDataAdapter Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of a DataAdapter class.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.

Protected Methods

protected methodCloneInternals

Supported by the .NET Compact Framework.

Obsolete. Creates a copy of this instance of DataAdapter.
protected methodCreateTableMappings

Supported by the .NET Compact Framework.

Creates a new DataTableMappingCollection.
protected methodDispose

Supported by the .NET Compact Framework.

Overloaded. Overridden. Releases the resources used by the DataAdapter.
protected methodFinalize (inherited from Component)

Supported by the .NET Compact Framework.

Overridden. Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.
protected methodShouldSerializeTableMappings Determines whether one or more DataTableMapping objects exist and they should be persisted.

See Also

DataAdapter Class | System.Data.Common Namespace

Show:
© 2016 Microsoft