This documentation is archived and is not being maintained.

DataAdapter Members

Represents a set of SQL commands and a database connection that are used to fill the DataSet and update the data source.

The DataAdapter type exposes the following members.

  NameDescription
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework DataAdapter Overloaded. Initializes a new instance of a DataAdapter class.
Top

  NameDescription
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework CloneInternals Obsolete. Creates a copy of this instance of DataAdapter.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework CreateTableMappings Creates a new DataTableMappingCollection.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Dispose Overloaded.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Fill Overloaded. Adds or refreshes rows in the DataSet to match those in the data source.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework FillSchema Overloaded. Adds a DataTable to the specified DataSet.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetFillParameters Gets the parameters set by the user when executing an SQL SELECT statement.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework HasTableMappings Indicates whether a DataTableMappingCollection has been created.
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Overloaded.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework OnFillError Invoked when an error occurs during a Fill.
Public method ResetFillLoadOption Resets FillLoadOption to its default state and causes DataAdapter.Fill to honor AcceptChangesDuringFill.
Public method ShouldSerializeAcceptChangesDuringFill Determines whether the AcceptChangesDuringFill property should be persisted.
Public method ShouldSerializeFillLoadOption Determines whether the FillLoadOption property should be persisted.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework ShouldSerializeTableMappings Determines whether one or more DataTableMapping objects exist and they should be persisted.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)

In .NET Compact Framework 3.5, this member is inherited from Object.ToString().


In XNA Framework 3.0, this member is inherited from Object.ToString().
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Update Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified DataSet from a DataTable named "Table."
Top

  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework AcceptChangesDuringFill 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 property Supported by the .NET Compact Framework Supported by the XNA Framework AcceptChangesDuringUpdate Gets or sets whether AcceptChanges is called during a Update.
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ContinueUpdateOnError Gets or sets a value that specifies whether to generate an exception when an error is encountered during a row update.
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected property Supported by the .NET Compact Framework Supported by the XNA Framework Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework FillLoadOption Gets or sets the LoadOption that determines how the adapter fills the DataTable from the DbDataReader.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework MissingMappingAction Determines the action to take when incoming data does not have a matching table or column.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework MissingSchemaAction Determines the action to take when existing DataSet schema does not match incoming data.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ReturnProviderSpecificTypes Gets or sets whether the Fill method should return provider-specific values or common CLS-compliant values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework TableMappings Gets a collection that provides the master mapping between a source table and a DataTable.
Top

  NameDescription
Public event Supported by the .NET Compact Framework Supported by the XNA Framework Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Public event Supported by the .NET Compact Framework Supported by the XNA Framework FillError Returned when an error occurs during a fill operation.
Top

  NameDescription
Explicit interface implemetation Private property Supported by the .NET Compact Framework Supported by the XNA Framework IDataAdapter.TableMappings For a description of this member, see IDataAdapter.TableMappings.
Top
Show: