Constructors
-
Data
Adapter() protected Initializes a new instance of a DataAdapter class. -
Data
Adapter(Data protected Initializes a new instance of a DataAdapter class from an existing object of the same type.Adapter)
Methods
-
Clone
Internals() protectedvirtual Creates a copy of this instance of DataAdapter. -
Create
Table protectedvirtual Creates a new DataTableMappingCollection.Mappings() - Dispose(Boolean) protectedvirtual Releases the unmanaged resources used by the DataAdapter and optionally releases the managed resources.
-
Fill(Data
Set) virtual Adds or refreshes rows in the DataSet to match those in the data source. -
Fill(Data
Set, protectedvirtual Adds or refreshes rows in a specified range in the DataSet to match those in the data source using the DataSet and DataTable names.String, IData Reader, Int32, Int32) -
Fill(Data
Table, protectedvirtual Adds or refreshes rows in the DataTable to match those in the data source using the DataTable name and the specified IDataReader.IData Reader) -
Fill(Data
Table[], protectedvirtual Adds or refreshes rows in a specified range in the collection of DataTable objects to match those in the data source.IData Reader, Int32, Int32) -
Fill
Schema(Data virtual Adds a DataTable to the specified DataSet and configures the schema to match that in the data source based on the specified SchemaType.Set, Schema Type) -
Fill
Schema(Data protectedvirtual Adds a DataTable to the specified DataSet.Set, Schema Type, String, IData Reader) -
Fill
Schema(Data protectedvirtual Adds a DataTable to the specified DataSet.Table, Schema Type, IData Reader) -
Get
Fill virtual Gets the parameters set by the user when executing an SQL SELECT statement.Parameters() -
Has
Table protected Indicates whether a DataTableMappingCollection has been created.Mappings() -
On
Fill protectedvirtual Invoked when an error occurs during a Fill.Error(Fill Error Event Args) -
Reset
Fill Resets FillLoadOption to its default state and causes Fill(System.Data.DataSet) to honor AcceptChangesDuringFill.Load Option() -
Should
Serialize virtual Determines whether the AcceptChangesDuringFill property should be persisted.Accept Changes During Fill() -
Should
Serialize virtual Determines whether the FillLoadOption property should be persisted.Fill Load Option() -
Should
Serialize protectedvirtual Determines whether one or more DataTableMapping objects exist and they should be persisted.Table Mappings() -
Update(Data
Set) virtual Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified DataSet from a DataTable named "Table."
Properties
-
Accept
Changes 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.During Fill -
Accept
Changes Gets or sets whether AcceptChanges is called during a Update(System.Data.DataSet).During Update -
Continue
Update Gets or sets a value that specifies whether to generate an exception when an error is encountered during a row update.On Error -
Fill
Load Gets or sets the LoadOption that determines how the adapter fills the DataTable from the DbDataReader.Option -
Missing
Mapping sealed Determines the action to take when incoming data does not have a matching table or column.Action -
Missing
Schema sealed Determines the action to take when existing DataSet schema does not match incoming data.Action -
Return
Provider virtual Gets or sets whether the Fill method should return provider-specific values or common CLS-compliant values.Specific Types -
System.
Data. privatesealed Indicates how a source table is mapped to a dataset table.IData Adapter. Table Mappings -
Table
Mappings Gets a collection that provides the master mapping between a source table and a DataTable.
Events
-
Fill
Error Returned when an error occurs during a fill operation.