Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataAdapter Methods

The DataAdapter type exposes the following members.

  NameDescription
Protected method 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 CreateTableMappings Creates a new DataTableMappingCollection.
Public method Dispose() Releases all resources used by the Component. (Inherited from Component.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the DataAdapter and optionally releases the managed resources. (Overrides Component.Dispose(Boolean).)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Fill(DataSet) Adds or refreshes rows in the DataSet to match those in the data source.
Protected method Fill(DataTable, IDataReader) Adds or refreshes rows in the DataTable to match those in the data source using the DataTable name and the specified IDataReader.
Protected method Fill(DataTable[], IDataReader, Int32, Int32) Adds or refreshes rows in a specified range in the collection of DataTable objects to match those in the data source.
Protected method Fill(DataSet, String, IDataReader, Int32, Int32) Adds or refreshes rows in a specified range in the DataSet to match those in the data source using the DataSet and DataTable names.
Public method FillSchema(DataSet, SchemaType) Adds a DataTable to the specified DataSet and configures the schema to match that in the data source based on the specified SchemaType.
Protected method FillSchema(DataTable, SchemaType, IDataReader) Adds a DataTable to the specified DataSet.
Protected method FillSchema(DataSet, SchemaType, String, IDataReader) Adds a DataTable to the specified DataSet.
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method GetFillParameters Gets the parameters set by the user when executing an SQL SELECT statement.
Public method 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 GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method 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 MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Protected method 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 ShouldSerializeTableMappings Determines whether one or more DataTableMapping objects exist and they should be persisted.
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)

In XNA Framework 3.0, this member is inherited from Object.ToString().
Public method 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.