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 | |
---|---|---|
SqlCeDataAdapter | Overloaded. Initializes a new instance of the SqlCeDataAdapter class. |
Top
Public Properties
(see also Protected Properties )
Name | Description | |
---|---|---|
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.(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) | |
DeleteCommand | Gets or sets an SQL statement for deleting records from the data set. | |
FillLoadOption | Gets or sets the LoadOption that determines how the adapter fills the DataTable from the DbDataReader.(inherited from DataAdapter) | |
InsertCommand | Gets or sets an SQL statement used to insert new records into the data source. | |
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) | |
ReturnProviderSpecificTypes | Gets or sets whether the Fill method should return provider-specific values or common CLS-compliant values.(inherited from DataAdapter) | |
SelectCommand | Gets or sets an SQL statement used to select records in the data source. | |
Site | Gets or sets the ISite of the Component.(inherited from Component) | |
TableMappings | Gets a collection that provides the master mapping between a source table and a DataTable.(inherited from DataAdapter) | |
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. |
Top
Protected Properties
Name | Description | |
---|---|---|
CanRaiseEvents | Gets a value indicating whether the component can raise an event.(inherited from Component) | |
DesignMode | Gets a value that indicates whether the Component is currently in design mode.(inherited from Component) | |
Events | Gets the list of event handlers that are attached to this Component.(inherited from Component) | |
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 | |
---|---|---|
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) | |
Dispose | Overloaded. (inherited from DbDataAdapter) | |
Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) | |
Fill | Overloaded. Fills a DataSet or a DataTable. (inherited from DbDataAdapter) | |
FillSchema | Overloaded. Adds a DataTable to a DataSet and configures the schema to match that in the data source. (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) | |
GetType | Gets the Type of the current instance. (inherited from Object) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject) | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) | |
ResetFillLoadOption | Resets FillLoadOption to its default state and causes DataAdapter.Fill to honor AcceptChangesDuringFill. (inherited from DataAdapter) | |
ShouldSerializeAcceptChangesDuringFill | Determines whether the AcceptChangesDuringFill property should be persisted. (inherited from DataAdapter) | |
ShouldSerializeFillLoadOption | Determines whether the FillLoadOption property should be persisted. (inherited from DataAdapter) | |
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (inherited from Component) | |
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 | |
---|---|---|
AddToBatch | Adds a IDbCommand to the current batch. (inherited from DbDataAdapter) | |
ClearBatch | Removes all IDbCommand objects from the batch. (inherited from DbDataAdapter) | |
CloneInternals | Creates a copy of this instance of DataAdapter. (inherited from DataAdapter) | |
CreateRowUpdatedEvent | Initializes a new instance of the RowUpdatedEventArgs class. (inherited from DbDataAdapter) | |
CreateRowUpdatingEvent | Initializes a new instance of the RowUpdatingEventArgs class. (inherited from DbDataAdapter) | |
CreateTableMappings | Creates a new DataTableMappingCollection. (inherited from DataAdapter) | |
Dispose | Overloaded. (inherited from DbDataAdapter) | |
ExecuteBatch | Executes the current batch. (inherited from DbDataAdapter) | |
Fill | Overloaded. Fills a DataSet or a DataTable. (inherited from DbDataAdapter) | |
FillSchema | Overloaded. Adds a DataTable to a DataSet and configures the schema to match that in the data source. (inherited from DbDataAdapter) | |
Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (inherited from Component) | |
GetBatchedParameter | Returns a IDataParameter from one of the commands in the current batch. (inherited from DbDataAdapter) | |
GetBatchedRecordsAffected | Returns information about an individual update attempt within a larger batched update. (inherited from DbDataAdapter) | |
GetService | Returns an object that represents a service provided by the Component or by its Container. (inherited from Component) | |
HasTableMappings | Indicates whether a DataTableMappingCollection has been created. (inherited from DataAdapter) | |
InitializeBatching | Initializes batching for the DbDataAdapter. (inherited from DbDataAdapter) | |
MemberwiseClone | Overloaded. (inherited from MarshalByRefObject) | |
OnFillError | Invoked when an error occurs during a Fill. (inherited from DataAdapter) | |
OnRowUpdated | Raises the RowUpdated event of a .NET Framework data provider. (inherited from DbDataAdapter) | |
OnRowUpdating | Raises the RowUpdating event of a .NET Framework data provider. (inherited from DbDataAdapter) | |
ShouldSerializeTableMappings | Determines whether one or more DataTableMapping objects exist and they should be persisted. (inherited from DataAdapter) | |
TerminateBatching | Ends batching for the DbDataAdapter. (inherited from DbDataAdapter) | |
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 | |
---|---|---|
Disposed | Occurs when the component is disposed by a call to the Dispose method. (inherited from Component) | |
FillError | Returned when an error occurs during a fill operation.(inherited from DataAdapter) | |
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. | |
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 | |
---|---|---|
System.ICloneable.Clone | For a description of this member, see ICloneable.Clone. | |
System.Data.IDbDataAdapter.DeleteCommand | ||
System.Data.IDbDataAdapter.InsertCommand | ||
System.Data.IDbDataAdapter.SelectCommand | ||
System.Data.IDbDataAdapter.UpdateCommand |
Top
See Also
Reference
SqlCeDataAdapter Class
System.Data.SqlServerCe Namespace
SqlCeConnection
SqlCeCommand
DataSet
DataTable