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

DbDataAdapter Methods

The DbDataAdapter type exposes the following members.

  Name Description
Protected method AddToBatch Adds a IDbCommand to the current batch.
Protected method ClearBatch Removes all IDbCommand objects from the batch.
Protected method CloneInternals Obsolete. Creates a copy of this instance of DataAdapter. (Inherited from 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 CreateRowUpdatedEvent Initializes a new instance of the RowUpdatedEventArgs class.
Protected method CreateRowUpdatingEvent Initializes a new instance of the RowUpdatingEventArgs class.
Protected method CreateTableMappings Creates a new DataTableMappingCollection. (Inherited from DataAdapter.)
Public method Dispose() Releases all resources used by the Component. (Inherited from Component.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the DbDataAdapter and optionally releases the managed resources. (Overrides DataAdapter.Dispose(Boolean).)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method ExecuteBatch Executes the current batch.
Public method Fill(DataSet) Adds or refreshes rows in the DataSet. (Overrides DataAdapter.Fill(DataSet).)
Public method Fill(DataTable) Adds or refreshes rows in a specified range in the DataSet to match those in the data source using the DataTable name.
Public method Fill(DataSet, String) Adds or refreshes rows in the DataSet to match those in the data source using the DataSet and DataTable names.
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. (Inherited from DataAdapter.)
Protected method Fill(DataTable, IDbCommand, CommandBehavior) Adds or refreshes rows in a DataTable to match those in the data source using the specified DataTable, IDbCommand and CommandBehavior.
Public method Fill(Int32, Int32, DataTable[]) Adds or refreshes rows in a DataTable to match those in the data source starting at the specified record and retrieving up to the specified maximum number of records.
Public method Fill(DataSet, Int32, Int32, String) Adds or refreshes rows in a specified range in the DataSet to match those in the data source using the DataSet and DataTable names.
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. (Inherited from DataAdapter.)
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. (Inherited from DataAdapter.)
Protected method Fill(DataTable[], Int32, Int32, IDbCommand, CommandBehavior) Adds or refreshes rows in a specified range in the DataSet to match those in the data source using the DataSet and DataTable names.
Protected method Fill(DataSet, Int32, Int32, String, IDbCommand, CommandBehavior) Adds or refreshes rows in a specified range in the DataSet to match those in the data source using the DataSet and source table names, command string, and command behavior.
Public method FillSchema(DataSet, SchemaType) 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. (Overrides DataAdapter.FillSchema(DataSet, SchemaType).)
Public method FillSchema(DataTable, SchemaType) Configures the schema of the specified DataTable based on the specified SchemaType.
Public method FillSchema(DataSet, SchemaType, String) Adds a DataTable to the specified DataSet and configures the schema to match that in the data source based upon the specified SchemaType and DataTable.
Protected method FillSchema(DataTable, SchemaType, IDataReader) Adds a DataTable to the specified DataSet. (Inherited from DataAdapter.)
Protected method FillSchema(DataSet, SchemaType, String, IDataReader) Adds a DataTable to the specified DataSet. (Inherited from DataAdapter.)
Protected method FillSchema(DataTable, SchemaType, IDbCommand, CommandBehavior) Configures the schema of the specified DataTable based on the specified SchemaType, command string, and CommandBehavior values.
Protected method FillSchema(DataSet, SchemaType, IDbCommand, String, CommandBehavior) 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 Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Protected method GetBatchedParameter Returns a IDataParameter from one of the commands in the current batch.
Protected method GetBatchedRecordsAffected Returns information about an individual update attempt within a larger batched update.
Public method GetFillParameters Gets the parameters set by the user when executing an SQL SELECT statement. (Overrides DataAdapter.GetFillParameters().)
Public method GetHashCode Serves as the default hash function. (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. (Inherited from DataAdapter.)
Protected method InitializeBatching Initializes batching for the DbDataAdapter.
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. (Inherited from DataAdapter.)
Protected method OnRowUpdated Raises the RowUpdated event of a .NET Framework data provider.
Protected method OnRowUpdating Raises the RowUpdating event of a .NET Framework data provider.
Public method ResetFillLoadOption Resets FillLoadOption to its default state and causes DataAdapter.Fill to honor AcceptChangesDuringFill. (Inherited from DataAdapter.)
Public method ShouldSerializeAcceptChangesDuringFill Determines whether the AcceptChangesDuringFill property should be persisted. (Inherited from DataAdapter.)
Public method ShouldSerializeFillLoadOption Determines whether the FillLoadOption property should be persisted. (Inherited from DataAdapter.)
Protected method ShouldSerializeTableMappings Determines whether one or more DataTableMapping objects exist and they should be persisted. (Inherited from DataAdapter.)
Protected method TerminateBatching Ends batching for the DbDataAdapter.
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(DataRow[]) Updates the values in the database by executing the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified array in the DataSet.
Public method Update(DataSet) Updates the values in the database by executing the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified DataSet. (Overrides DataAdapter.Update(DataSet).)
Public method Update(DataTable) Updates the values in the database by executing the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified DataTable.
Protected method Update(DataRow[], DataTableMapping) Updates the values in the database by executing the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified array of DataSet objects.
Public method Update(DataSet, String) Updates the values in the database by executing the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the DataSet with the specified DataTable name.
Top
  Name Description
Explicit interface implemetation Private method ICloneable.Clone Creates a new object that is a copy of the current instance.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.