.NET Framework Class Library
DataAdapter Members

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

The DataAdapter type exposes the following members.

Constructors

  NameDescription
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkDataAdapterOverloaded. Initializes a new instance of a DataAdapter class.
Top
Methods

  NameDescription
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCloneInternals Obsolete. Creates a copy of this instance of DataAdapter.
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCreateTableMappingsCreates a new DataTableMappingCollection.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkDisposeOverloaded.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFillOverloaded. Adds or refreshes rows in the DataSet to match those in the data source.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFillSchemaOverloaded. Adds a DataTable to the specified DataSet.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalizeOverloaded.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetFillParametersGets the parameters set by the user when executing an SQL SELECT statement.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodGetServiceReturns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkHasTableMappingsIndicates whether a DataTableMappingCollection has been created.
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseCloneOverloaded.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkOnFillErrorInvoked when an error occurs during a Fill.
Public methodResetFillLoadOptionResets FillLoadOption to its default state and causes DataAdapter..::.Fill to honor AcceptChangesDuringFill.
Public methodShouldSerializeAcceptChangesDuringFillDetermines whether the AcceptChangesDuringFill property should be persisted.
Public methodShouldSerializeFillLoadOptionDetermines whether the FillLoadOption property should be persisted.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkShouldSerializeTableMappingsDetermines whether one or more DataTableMapping objects exist and they should be persisted.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToStringOverloaded.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkUpdateCalls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified DataSet from a DataTable named "Table."
Top
Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkAcceptChangesDuringFillGets 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.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkAcceptChangesDuringUpdateGets or sets whether AcceptChanges is called during a Update.
Protected propertyCanRaiseEventsGets a value indicating whether the component can raise an event. (Inherited from Component.)
Public propertyContainerGets the IContainer that contains the Component. (Inherited from Component.)
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkContinueUpdateOnErrorGets or sets a value that specifies whether to generate an exception when an error is encountered during a row update.
Protected propertyDesignModeGets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkEventsGets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkFillLoadOptionGets or sets the LoadOption that determines how the adapter fills the DataTable from the DbDataReader.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkMissingMappingActionDetermines the action to take when incoming data does not have a matching table or column.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkMissingSchemaActionDetermines the action to take when existing DataSet schema does not match incoming data.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkReturnProviderSpecificTypesGets or sets whether the Fill method should return provider-specific values or common CLS-compliant values.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkSiteGets or sets the ISite of the Component. (Inherited from Component.)
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkTableMappingsGets a collection that provides the master mapping between a source table and a DataTable.
Top
Events

  NameDescription
Public eventSupported by the .NET Compact FrameworkSupported by the XNA FrameworkDisposedOccurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Public eventSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFillErrorReturned when an error occurs during a fill operation.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkIDataAdapter..::.TableMappingsFor a description of this member, see IDataAdapter..::.TableMappings.
Top
See Also

Reference

Tags :


Page view tracker