Export (0) Print
Expand All

OleDbDataAdapter Members

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

The OleDbDataAdapter type exposes the following members.

  NameDescription
Public method OleDbDataAdapter Overloaded. Initializes a new instance of the OleDbDataAdapter class.
Top

  NameDescription
Protected method AddToBatch Adds a IDbCommand to the current batch. (Inherited from DbDataAdapter.)
Protected method ClearBatch Removes all IDbCommand objects from the batch. (Inherited from DbDataAdapter.)
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. (Inherited from DbDataAdapter.)
Protected method CreateRowUpdatingEvent Initializes a new instance of the RowUpdatingEventArgs class. (Inherited from DbDataAdapter.)
Protected method CreateTableMappings Creates a new DataTableMappingCollection. (Inherited from DataAdapter.)
Public method Dispose Overloaded. Releases the resources used by the Component.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method ExecuteBatch Executes the current batch. (Inherited from DbDataAdapter.)
Public method Fill Overloaded. Adds or refreshes rows in the DataSet to match those in an ADO Recordset or Record object.
Public method FillSchema Overloaded. 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.)
Protected method GetBatchedParameter Returns a IDataParameter from one of the commands in the current batch. (Inherited from DbDataAdapter.)
Protected method GetBatchedRecordsAffected Returns information about an individual update attempt within a larger batched update. (Inherited from DbDataAdapter.)
Public method GetFillParameters Gets the parameters set by the user when executing an SQL SELECT statement. (Inherited from DbDataAdapter.)
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. (Inherited from DataAdapter.)
Protected method InitializeBatching Initializes batching for the DbDataAdapter. (Inherited from DbDataAdapter.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone Overloaded.
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. (Inherited from DbDataAdapter.)
Protected method OnRowUpdating Raises the RowUpdating event of a .NET Framework data provider. (Inherited from DbDataAdapter.)
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. (Inherited from DbDataAdapter.)
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Public method Update Overloaded. Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the DataSet.
Top

  NameDescription
Public property 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. (Inherited from DataAdapter.)
Public property AcceptChangesDuringUpdate Gets or sets whether AcceptChanges is called during a Update. (Inherited from DataAdapter.)
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 ContinueUpdateOnError Gets or sets a value that specifies whether to generate an exception when an error is encountered during a row update. (Inherited from DataAdapter.)
Public property DeleteCommand Gets or sets an SQL statement or stored procedure for deleting records from the data set.
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Protected property FillCommandBehavior Gets or sets the behavior of the command used to fill the data adapter. (Inherited from DbDataAdapter.)
Public property FillLoadOption Gets or sets the LoadOption that determines how the adapter fills the DataTable from the DbDataReader. (Inherited from DataAdapter.)
Public property InsertCommand Gets or sets an SQL statement or stored procedure used to insert new records into the data source.
Public property MissingMappingAction Determines the action to take when incoming data does not have a matching table or column. (Inherited from DataAdapter.)
Public property MissingSchemaAction Determines the action to take when existing DataSet schema does not match incoming data. (Inherited from DataAdapter.)
Public property ReturnProviderSpecificTypes Gets or sets whether the Fill method should return provider-specific values or common CLS-compliant values. (Inherited from DataAdapter.)
Public property SelectCommand Gets or sets an SQL statement or stored procedure used to select records in the data source.
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property TableMappings Gets a collection that provides the master mapping between a source table and a DataTable. (Inherited from DataAdapter.)
Public property UpdateBatchSize Gets or sets a value that enables or disables batch processing support, and specifies the number of commands that can be executed in a batch. (Inherited from DbDataAdapter.)
Public property UpdateCommand Gets or sets an SQL statement or stored procedure used to update records in the data source.
Top

  NameDescription
Public event Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Public event FillError Returned when an error occurs during a fill operation. (Inherited from DataAdapter.)
Public event RowUpdated Occurs during Update after a command is executed against the data source. The attempt to update is made. Therefore, the event occurs.
Public event RowUpdating Occurs during Update before a command is executed against the data source. The attempt to update is made. Therefore, the event occurs.
Top

  NameDescription
Public method Clone Overloaded.
Explicit interface implemetation Private property IDbDataAdapter.DeleteCommand For a description of this member, see DeleteCommand.
Explicit interface implemetation Private property IDbDataAdapter.InsertCommand For a description of this member, see InsertCommand.
Explicit interface implemetation Private property IDbDataAdapter.SelectCommand For a description of this member, see SelectCommand.
Explicit interface implemetation Private property IDataAdapter.TableMappings For a description of this member, see IDataAdapter.TableMappings. (Inherited from DataAdapter.)
Explicit interface implemetation Private property IDbDataAdapter.UpdateCommand For a description of this member, see UpdateCommand.
Top

Community Additions

ADD
Show:
© 2014 Microsoft