Condividi tramite


SqlCeDataAdapter Members

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

The following tables list the members exposed by the SqlCeDataAdapter type.

Public Constructors

  Name Description
Public method Supported by the .NET Compact Framework SqlCeDataAdapter Overloaded. Initializes a new instance of the SqlCeDataAdapter class.

Top

Public Properties

(see also Protected Properties )

  Name Description
Public property Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework AcceptChangesDuringUpdate  Gets or sets whether AcceptChanges is called during a Update.(inherited from DataAdapter)
Public property Container  Gets the IContainer that contains the Component.(inherited from Component)
Public property Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework DeleteCommand Gets or sets an SQL statement for deleting records from the data set.
Public property Supported by the .NET Compact Framework FillLoadOption  Gets or sets the LoadOption that determines how the adapter fills the DataTable from the DbDataReader.(inherited from DataAdapter)
Public property Supported by the .NET Compact Framework InsertCommand Gets or sets an SQL statement used to insert new records into the data source.
Public property Supported by the .NET Compact Framework MissingMappingAction  Determines the action to take when incoming data does not have a matching table or column.(inherited from DataAdapter)
Public property Supported by the .NET Compact Framework MissingSchemaAction  Determines the action to take when existing DataSet schema does not match incoming data.(inherited from DataAdapter)
Public property Supported by the .NET Compact Framework ReturnProviderSpecificTypes  Gets or sets whether the Fill method should return provider-specific values or common CLS-compliant values.(inherited from DataAdapter)
Public property Supported by the .NET Compact Framework SelectCommand Gets or sets an SQL statement used to select records in the data source.
Public property Supported by the .NET Compact Framework Site  Gets or sets the ISite of the Component.(inherited from Component)
Public property Supported by the .NET Compact Framework TableMappings  Gets a collection that provides the master mapping between a source table and a DataTable.(inherited from DataAdapter)
Public property Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework UpdateCommand Gets or sets an SQL statement used to update records in the data source.

Top

Protected Properties

  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event.(inherited from Component)
Protected property DesignMode  Gets a value that indicates whether the Component is currently in design mode.(inherited from Component)
Protected property Supported by the .NET Compact Framework Events  Gets the list of event handlers that are attached to this Component.(inherited from Component)
Protected property Supported by the .NET Compact Framework FillCommandBehavior  Gets or sets the behavior of the command used to fill the data adapter.(inherited from DbDataAdapter)

Top

Public Methods

(see also Protected Methods )

  Name Description
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)
Public method Supported by the .NET Compact Framework Dispose  Overloaded. (inherited from DbDataAdapter)
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework Fill  Overloaded. Fills a DataSet or a DataTable. (inherited from DbDataAdapter)
Public method Supported by the .NET Compact Framework FillSchema  Overloaded. Adds a DataTable to a DataSet and configures the schema to match that in the data source. (inherited from DbDataAdapter)
Public method Supported by the .NET Compact Framework GetFillParameters  Gets the parameters set by the user when executing an SQL SELECT statement. (inherited from DbDataAdapter)
Public method Supported by the .NET Compact Framework 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)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework ResetFillLoadOption  Resets FillLoadOption to its default state and causes DataAdapter.Fill to honor AcceptChangesDuringFill. (inherited from DataAdapter)
Public method Supported by the .NET Compact Framework ShouldSerializeAcceptChangesDuringFill  Determines whether the AcceptChangesDuringFill property should be persisted. (inherited from DataAdapter)
Public method Supported by the .NET Compact Framework ShouldSerializeFillLoadOption  Determines whether the FillLoadOption property should be persisted. (inherited from DataAdapter)
Public method Supported by the .NET Compact Framework ToString  Returns a String containing the name of the Component, if any. This method should not be overridden. (inherited from Component)
Public method Supported by the .NET Compact Framework Update  Overloaded. Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the DataSet. (inherited from DbDataAdapter)

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework AddToBatch  Adds a IDbCommand to the current batch. (inherited from DbDataAdapter)
Protected method Supported by the .NET Compact Framework ClearBatch  Removes all IDbCommand objects from the batch. (inherited from DbDataAdapter)
Protected method Supported by the .NET Compact Framework CloneInternals  Creates a copy of this instance of DataAdapter. (inherited from DataAdapter)
Protected method Supported by the .NET Compact Framework CreateRowUpdatedEvent  Initializes a new instance of the RowUpdatedEventArgs class. (inherited from DbDataAdapter)
Protected method Supported by the .NET Compact Framework CreateRowUpdatingEvent  Initializes a new instance of the RowUpdatingEventArgs class. (inherited from DbDataAdapter)
Protected method Supported by the .NET Compact Framework CreateTableMappings  Creates a new DataTableMappingCollection. (inherited from DataAdapter)
Protected method Supported by the .NET Compact Framework Dispose  Overloaded. (inherited from DbDataAdapter)
Protected method Supported by the .NET Compact Framework ExecuteBatch  Executes the current batch. (inherited from DbDataAdapter)
Protected method Supported by the .NET Compact Framework Fill  Overloaded. Fills a DataSet or a DataTable. (inherited from DbDataAdapter)
Protected method Supported by the .NET Compact Framework FillSchema  Overloaded. Adds a DataTable to a DataSet and configures the schema to match that in the data source. (inherited from DbDataAdapter)
Protected method Supported by the .NET Compact Framework Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (inherited from Component)
Protected method Supported by the .NET Compact Framework 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)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (inherited from Component)
Protected method Supported by the .NET Compact Framework HasTableMappings  Indicates whether a DataTableMappingCollection has been created. (inherited from DataAdapter)
Protected method Supported by the .NET Compact Framework InitializeBatching  Initializes batching for the DbDataAdapter. (inherited from DbDataAdapter)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Protected method Supported by the .NET Compact Framework OnFillError  Invoked when an error occurs during a Fill. (inherited from DataAdapter)
Protected method Supported by the .NET Compact Framework OnRowUpdated  Raises the RowUpdated event of a .NET Framework data provider. (inherited from DbDataAdapter)
Protected method Supported by the .NET Compact Framework OnRowUpdating  Raises the RowUpdating event of a .NET Framework data provider. (inherited from DbDataAdapter)
Protected method Supported by the .NET Compact Framework ShouldSerializeTableMappings  Determines whether one or more DataTableMapping objects exist and they should be persisted. (inherited from DataAdapter)
Protected method Supported by the .NET Compact Framework TerminateBatching  Ends batching for the DbDataAdapter. (inherited from DbDataAdapter)
Protected method Supported by the .NET Compact Framework Update  Overloaded. Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the DataSet. (inherited from DbDataAdapter)

Top

Public Events

  Name Description
Public event Supported by the .NET Compact Framework Disposed  Occurs when the component is disposed by a call to the Dispose method. (inherited from Component)
Public event Supported by the .NET Compact Framework FillError  Returned when an error occurs during a fill operation.(inherited from DataAdapter)
Public event Supported by the .NET Compact Framework RowUpdated Occurs during a call to Update after an update command is executed against the data source. The attempt to update is made and then this event fires.
Public event Supported by the .NET Compact Framework RowUpdating Occurs during a call to Update before an update command is executed against the data source. The attempt to update is made, and then this event fires.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.ICloneable.Clone For a description of this member, see ICloneable.Clone.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Data.IDbDataAdapter.DeleteCommand  
Explicit interface implementation Property Supported by the .NET Compact Framework System.Data.IDbDataAdapter.InsertCommand  
Explicit interface implementation Property Supported by the .NET Compact Framework System.Data.IDbDataAdapter.SelectCommand  
Explicit interface implementation Property Supported by the .NET Compact Framework System.Data.IDbDataAdapter.UpdateCommand  

Top

See Also

Reference

SqlCeDataAdapter Class
System.Data.SqlServerCe Namespace
SqlCeConnection
SqlCeCommand
DataSet
DataTable