Represents a set of data commands and a database connection that are used to fill the DataSet and update the data source.
| C# | Visual Basic |
public class CEDataAdapter : DbDataAdapter, IDbDataAdapter, IDataAdapter, ICloneable
Public Class CEDataAdapter _ Inherits DbDataAdapter _ Implements IDbDataAdapter, IDataAdapter, ICloneable
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| CEDataAdapter()()()() |
Initializes a new instance of the CEDataAdapter class.
| |
| CEDataAdapter(CECommand) |
Initializes a new instance of the CEDataAdapter class with the specified CECommand as the SelectCommand property.
| |
| CEDataAdapter(String, CEConnection) | Initializes a new instance of the CEDataAdapter class | |
| CEDataAdapter(String, String) |
Initializes a new instance of the CEDataAdapter class with a SelectCommand and a connection string.
| |
| 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.) | |
| AcceptChangesDuringUpdate |
Gets or sets whether AcceptChanges()()()() is called during a Update(DataSet).
(Inherited from DataAdapter.) | |
| AddToBatch(IDbCommand) |
Adds a IDbCommand to the current batch.
(Inherited from DbDataAdapter.) | |
| CanRaiseEvents |
Gets a value indicating whether the component can raise an event.
(Inherited from Component.) | |
| ClearBatch()()()() |
Removes all IDbCommand objects from the batch.
(Inherited from DbDataAdapter.) | |
| CloneInternals()()()() | Obsolete.
Creates a copy of this instance of DataAdapter.
(Inherited from DataAdapter.) | |
| Container |
Gets the IContainer that contains the Component.
(Inherited from Component.) | |
| 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.) | |
| CreateObjRef(Type) |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.) | |
| CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping) | (Overrides DbDataAdapter.CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping).) | |
| CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping) | (Overrides DbDataAdapter.CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping).) | |
| CreateTableMappings()()()() |
Creates a new DataTableMappingCollection.
(Inherited from DataAdapter.) | |
| DeleteCommand |
Gets or sets an SQL statement for deleting records from the data set.
| |
| DesignMode |
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.) | |
| Dispose(Boolean) |
Releases the unmanaged resources used by the DbDataAdapter and optionally releases the managed resources.
(Inherited from DbDataAdapter.) | |
| Dispose()()()() |
Releases all resources used by the Component.
(Inherited from Component.) | |
| Disposed |
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.) | |
| Equals(Object) | (Inherited from Object.) | |
| Events |
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.) | |
| ExecuteBatch()()()() |
Executes the current batch.
(Inherited from DbDataAdapter.) | |
| Fill(DataSet) |
Adds or refreshes rows in the DataSet.
(Inherited from DbDataAdapter.) | |
| Fill(DataSet, String) |
Adds or refreshes rows in the DataSet to match those in the data source using the DataSet and DataTable names.
(Inherited from DbDataAdapter.) | |
| 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.
(Inherited from DbDataAdapter.) | |
| 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.
(Inherited from DbDataAdapter.) | |
| Fill(DataTable) |
Adds or refreshes rows in a specified range in the DataSet to match those in the data source using the DataTable name.
(Inherited from DbDataAdapter.) | |
| Fill(Int32, Int32, array<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.
(Inherited from DbDataAdapter.) | |
| 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.
(Inherited from DbDataAdapter.) | |
| Fill(array<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.
(Inherited from DbDataAdapter.) | |
| 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.) | |
| 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.) | |
| Fill(array<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.) | |
| FillCommandBehavior |
Gets or sets the behavior of the command used to fill the data adapter.
(Inherited from DbDataAdapter.) | |
| FillError |
Returned when an error occurs during a fill operation.
(Inherited from DataAdapter.) | |
| FillLoadOption |
Gets or sets the LoadOption that determines how the adapter fills the DataTable from the DbDataReader.
(Inherited from DataAdapter.) | |
| FillSchema(DataTable, SchemaType) |
Configures the schema of the specified DataTable based on the specified SchemaType.
(Inherited from DbDataAdapter.) | |
| 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.
(Inherited from DbDataAdapter.) | |
| 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.
(Inherited from DbDataAdapter.) | |
| 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.
(Inherited from DbDataAdapter.) | |
| FillSchema(DataTable, SchemaType, IDbCommand, CommandBehavior) |
Configures the schema of the specified DataTable based on the specified SchemaType, command string, and CommandBehavior values.
(Inherited from DbDataAdapter.) | |
| FillSchema(DataSet, SchemaType, String, IDataReader) | (Inherited from DataAdapter.) | |
| FillSchema(DataTable, SchemaType, IDataReader) | (Inherited from DataAdapter.) | |
| Finalize()()()() |
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.) | |
| GetBatchedParameter(Int32, Int32) |
Returns a IDataParameter from one of the commands in the current batch.
(Inherited from DbDataAdapter.) | |
| GetBatchedRecordsAffected(Int32, Int32%, Exception%) |
Returns information about an individual update attempt within a larger batched update.
(Inherited from DbDataAdapter.) | |
| GetFillParameters()()()() |
Gets the parameters set by the user when executing an SQL SELECT statement.
(Inherited from DbDataAdapter.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetLifetimeService()()()() |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| GetService(Type) | (Inherited from Component.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| HasTableMappings()()()() |
Indicates whether a DataTableMappingCollection has been created.
(Inherited from DataAdapter.) | |
| InitializeBatching()()()() |
Initializes batching for the DbDataAdapter.
(Inherited from DbDataAdapter.) | |
| InitializeLifetimeService()()()() |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| InsertCommand |
Gets or sets an SQL statement used to insert new records into the data source.
| |
| MemberwiseClone(Boolean) |
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| MissingMappingAction |
Determines the action to take when incoming data does not have a matching table or column.
(Inherited from DataAdapter.) | |
| MissingSchemaAction |
Determines the action to take when existing DataSet schema does not match incoming data.
(Inherited from DataAdapter.) | |
| OnFillError(FillErrorEventArgs) |
Invoked when an error occurs during a Fill.
(Inherited from DataAdapter.) | |
| OnRowUpdated(RowUpdatedEventArgs) |
Raises the RowUpdated event of a .NET Framework data provider.
(Overrides DbDataAdapter.OnRowUpdated(RowUpdatedEventArgs).) | |
| OnRowUpdating(RowUpdatingEventArgs) |
Raises the RowUpdating event of a .NET Framework data provider.
(Overrides DbDataAdapter.OnRowUpdating(RowUpdatingEventArgs).) | |
| ResetFillLoadOption()()()() |
Resets FillLoadOption to its default state and causes Fill(DataSet) to honor AcceptChangesDuringFill.
(Inherited from DataAdapter.) | |
| ReturnProviderSpecificTypes |
Gets or sets whether the Fill method should return provider-specific values or common CLS-compliant values.
(Inherited from DataAdapter.) | |
| RowUpdated |
Occurs during a call to Update(DataSet) after an update command is executed against the data source.
The attempt to update is made and then this event fires.
| |
| RowUpdating |
Occurs during a call to Update(DataSet) before an update command is executed against the data source.
The attempt to update is made, and then this event fires.
| |
| SelectCommand |
Gets or sets an SQL statement used to select records in the data source.
| |
| ShouldSerializeAcceptChangesDuringFill()()()() |
Determines whether the AcceptChangesDuringFill property should be persisted.
(Inherited from DataAdapter.) | |
| ShouldSerializeFillLoadOption()()()() |
Determines whether the FillLoadOption property should be persisted.
(Inherited from DataAdapter.) | |
| ShouldSerializeTableMappings()()()() |
Determines whether one or more DataTableMapping objects exist and they should be persisted.
(Inherited from DataAdapter.) | |
| Site | (Inherited from Component.) | |
| TableMappings |
Gets a collection that provides the master mapping between a source table and a DataTable.
(Inherited from DataAdapter.) | |
| TerminateBatching()()()() |
Ends batching for the DbDataAdapter.
(Inherited from DbDataAdapter.) | |
| ToString()()()() |
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.) | |
| Update(DataSet) |
Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified DataSet.
(Inherited from DbDataAdapter.) | |
| Update(array<DataRow>[]()[][]) |
Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified array of DataRow objects.
(Inherited from DbDataAdapter.) | |
| Update(DataTable) |
Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified DataTable.
(Inherited from DbDataAdapter.) | |
| Update(DataSet, String) |
Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the DataSet with the specified DataTable name.
(Inherited from DbDataAdapter.) | |
| Update(array<DataRow>[]()[][], DataTableMapping) |
Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified array of DataRow objects.
(Inherited from DbDataAdapter.) | |
| 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.) | |
| UpdateCommand |
Gets or sets an SQL statement used to update records in the data source.
|
| Object | |||||
| MarshalByRefObject | |||||
| Component | |||||
| DataAdapter | |||||
| DbDataAdapter | |||||
| CEDataAdapter | |||||